List of all items
Structs
- AddNotification
- Captcha
- CreateCaptcha
- CreatePerformanceAnalytics
- EasyCaptcha
- Level
- NameHash
- Notification
- PerformanceAnalytics
- Register
- Secret
- StatsUnixTimestamp
- TrafficPattern
- UpdateEmail
diff --git a/db_core/all.html b/db_core/all.html index eb18eaad..be40b309 100644 --- a/db_core/all.html +++ b/db_core/all.html @@ -1,2 +1,2 @@ -
#[async_trait]pub enum Login<'a> {
- Username(&'a str),
- Email(&'a str),
+ Username(&'a str),
+ Email(&'a str),
}types of credentials used as identifiers during login
-Subscriber to this type, returning a
+ S: Into<Dispatch>,pub enum DBError {
DBError(BoxDynError),
UsernameTaken,
@@ -19,21 +19,21 @@
Captcha not found
Traffic pattern not found
Notification not found
-Subscriber to this type, returning a
+ S: Into<Dispatch>,pub type BoxDynError = Box<dyn StdError + Send + Sync + 'static>;Convenience type alias for grouping driver-specific errors
+pub type DBResult<V> = Result<V, DBError>;Generic result data structure
+pub type DBResult<V> = Result<V, DBError>;Generic result data structure
enum DBResult<V> {
Ok(V),
Err(DBError),
diff --git a/db_core/index.html b/db_core/index.html
index febc665d..1209d695 100644
--- a/db_core/index.html
+++ b/db_core/index.html
@@ -1,4 +1,4 @@
-db_core - Rust