Enum db_adapter::guild::GuildConfigError [−][src]
pub enum GuildConfigError {
MessageTooLong {
field: String,
},
RoleNoPrivilege {
role: RoleId,
privilege: Privilege,
},
AlreadyExists(GuildId),
}
Expand description
Errors originating from the GuildConfig
wrapper
Variants
Fields of MessageTooLong
field: String
AlreadyExists(GuildId)
Tuple Fields of AlreadyExists
0: GuildId
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for GuildConfigError
impl Send for GuildConfigError
impl Sync for GuildConfigError
impl Unpin for GuildConfigError
impl UnwindSafe for GuildConfigError
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