Enum mwbot::ConfigError [−][src]
#[non_exhaustive]
pub enum ConfigError {
CannotFindConfig,
IoError(Error),
InvalidTOML(Error),
APIError(Error),
ReadableConfig(u32),
WorldReadableConfig(u32),
}
Expand description
Error class for config and setup
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CannotFindConfig
IoError(Error)
Tuple Fields
0: Error
InvalidTOML(Error)
Tuple Fields
0: Error
APIError(Error)
Tuple Fields
0: Error
ReadableConfig(u32)
Tuple Fields
0: u32
WorldReadableConfig(u32)
Tuple Fields
0: u32
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl !UnwindSafe for ConfigError
Blanket Implementations
Mutably borrows from an owned value. Read more
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