Enum db_adapter::AdapterError [−][src]
pub enum AdapterError {
SqlxError(Error),
GuildError(GuildConfigError),
}
Expand description
Wrapper around all errors coming from the crate
Variants
[sqlx::Error
] errors
The crate uses [sqlx
] under the hood to communicate with the DBs.
If the later fails for any reason the error is relayed.
GuildError(GuildConfigError)
Errors with guilds’ configuration
Tuple Fields of GuildError
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for AdapterError
impl Send for AdapterError
impl Sync for AdapterError
impl Unpin for AdapterError
impl !UnwindSafe for AdapterError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more