diff --git a/help.html b/help.html index d711fde6..1f5620a2 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -
pub fn calculate(
tp: &TrafficPattern,
strategy: &DefaultDifficultyStrategy
) -> Result<Vec<Level>, ServiceError>
peak_sustainable_traffic: u32
the peak traffic that the user’s website can handle
broke_my_site_traffic: Option<u32>
traffic that bought the user’s website down; optional
description: String
Captcha description
-source
. Read moreReturns the argument unchanged.
+source
. Read moreCalls U::from(self)
.
name: String
§heading: String
§message: String
§received: i64
§id: i32
source
. Read moreself
and other
values to be equal, and is used
+}name: String
§heading: String
§message: String
§received: i64
§id: i32
source
. Read moreself
and other
values to be equal, and is used
by ==
.Span
, returning an
diff --git a/mcaptcha/data/struct.Data.html b/mcaptcha/data/struct.Data.html
index 2e42a7b0..4eb5b541 100644
--- a/mcaptcha/data/struct.Data.html
+++ b/mcaptcha/data/struct.Data.html
@@ -1,12 +1,12 @@
pub struct Data {
- pub db: Box<dyn MCDatabase>,
+ pub db: Box<dyn MCDatabase>,
pub creds: Config,
pub captcha: SystemGroup,
pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
pub settings: Settings,
pub stats: Box<dyn Stats>,
}
App data
-db: Box<dyn MCDatabase>
database ops defined by db crates
+db: Box<dyn MCDatabase>
database ops defined by db crates
creds: Config
credential management configuration
captcha: SystemGroup
mCaptcha system: Redis cache, etc.
mailer: Option<AsyncSmtpTransport<Tokio1Executor>>
email client
diff --git a/mcaptcha/db/maria/fn.get_data.html b/mcaptcha/db/maria/fn.get_data.html index 648ec3df..79505541 100644 --- a/mcaptcha/db/maria/fn.get_data.html +++ b/mcaptcha/db/maria/fn.get_data.html @@ -1 +1 @@ -pub enum PageError {
InternalServerError,
ServiceError(ServiceError),
-}
self
and other
values to be equal, and is used
+}Span
, returning an
diff --git a/mcaptcha/errors/enum.ServiceError.html b/mcaptcha/errors/enum.ServiceError.html
index 90daca96..cd8b0886 100644
--- a/mcaptcha/errors/enum.ServiceError.html
+++ b/mcaptcha/errors/enum.ServiceError.html
@@ -32,7 +32,7 @@ profile
token not found
captcha not found
Traffic pattern not found
-self
and other
values to be equal, and is used
+self
and other
values to be equal, and is used
by ==
.Span
, returning an
diff --git a/mcaptcha/errors/struct.DBErrorWrapper.html b/mcaptcha/errors/struct.DBErrorWrapper.html
index e070545b..246a7912 100644
--- a/mcaptcha/errors/struct.DBErrorWrapper.html
+++ b/mcaptcha/errors/struct.DBErrorWrapper.html
@@ -1,4 +1,4 @@
-pub struct DBErrorWrapper(DBError);
0: DBError
self
and other
values to be equal, and is used
+pub struct DBErrorWrapper(DBError);
0: DBError
Span
, returning an
diff --git a/mcaptcha/pages/panel/notifications/struct.Notification.html b/mcaptcha/pages/panel/notifications/struct.Notification.html
index 94103654..e15422bd 100644
--- a/mcaptcha/pages/panel/notifications/struct.Notification.html
+++ b/mcaptcha/pages/panel/notifications/struct.Notification.html
@@ -4,7 +4,7 @@
pub message: String,
pub received: OffsetDateTime,
pub id: i32,
-}name: String
§heading: String
§message: String
§received: OffsetDateTime
§id: i32
Returns the argument unchanged.
+}name: String
§heading: String
§message: String
§received: OffsetDateTime
§id: i32
Calls U::from(self)
.
duration: u32
§name: String
§key: String
§levels: Vec<Level>
source
. Read moreRenderResult
Read moreReturns the argument unchanged.
+}duration: u32
§name: String
§key: String
§levels: Vec<Level>
source
. Read moreRenderResult
Read moreCalls U::from(self)
.
pub struct IndexPage {
- sitekeys: Vec<Captcha>,
-}
sitekeys: Vec<Captcha>
RenderResult
Read moresitekeys: Vec<Captcha>
RenderResult
Read moreCalls U::from(self)
.
duration: u32
§name: String
§key: String
§levels: Vec<Level>
§stats: CaptchaStats
RenderResult
Read moreReturns the argument unchanged.
+}duration: u32
§name: String
§key: String
§levels: Vec<Level>
§stats: CaptchaStats
RenderResult
Read moreCalls U::from(self)
.
pub struct IndexPage {
- sitekeys: Vec<Captcha>,
-}
sitekeys: Vec<Captcha>
RenderResult
Read moresitekeys: Vec<Captcha>
RenderResult
Read moreCalls U::from(self)
.
pub struct Dummy;
record PoWConfig fetches
-record PoWConfig solves
-record PoWConfig confirms
-fetch stats
+sufficient, and should not be overridden without very good reason.record PoWConfig fetches
+record PoWConfig solves
+record PoWConfig confirms
+fetch stats
Span
, returning an
diff --git a/mcaptcha/stats/struct.Real.html b/mcaptcha/stats/struct.Real.html
index e8b49648..f1f7ce44 100644
--- a/mcaptcha/stats/struct.Real.html
+++ b/mcaptcha/stats/struct.Real.html
@@ -1,9 +1,9 @@
pub struct Real;
record PoWConfig fetches
-record PoWConfig solves
-record PoWConfig confirms
-fetch stats
+sufficient, and should not be overridden without very good reason.record PoWConfig fetches
+record PoWConfig solves
+record PoWConfig confirms
+fetch stats
Span
, returning an
diff --git a/mcaptcha/stats/trait.Stats.html b/mcaptcha/stats/trait.Stats.html
index 3f3bc02a..5024c477 100644
--- a/mcaptcha/stats/trait.Stats.html
+++ b/mcaptcha/stats/trait.Stats.html
@@ -1,10 +1,10 @@
pub trait Stats: Send + Sync + CloneStats {
- fn record_fetch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
- fn record_solve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
- fn record_confirm<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
- fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
d: &'life1 Data,
user: &'life2 str,
key: &'life3 str
) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
-}
record PoWConfig fetches
-record PoWConfig solves
-record PoWConfig confirms
-fetch stats
+ fn record_fetch<'life0, 'life1, 'life2, 'async_trait>(record PoWConfig fetches
+record PoWConfig solves
+record PoWConfig confirms
+fetch stats
pub struct Data {
- pub db: Box<dyn MCDatabase>,
+ pub db: Box<dyn MCDatabase>,
pub creds: Config,
pub captcha: SystemGroup,
pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
pub settings: Settings,
pub stats: Box<dyn Stats>,
}
App data
-db: Box<dyn MCDatabase>
database ops defined by db crates
+db: Box<dyn MCDatabase>
database ops defined by db crates
creds: Config
credential management configuration
captcha: SystemGroup
mCaptcha system: Redis cache, etc.
mailer: Option<AsyncSmtpTransport<Tokio1Executor>>