pub enum FailReason {
Timeout,
BotError,
BotUnavailable,
}Expand description
Why an interaction failed.
Variants§
Timeout
No answer within 3 s.
BotError
The bot trapped or answered with an error.
The bot is disabled, crashed or not connected.
Trait Implementations§
Source§impl Clone for FailReason
impl Clone for FailReason
Source§fn clone(&self) -> FailReason
fn clone(&self) -> FailReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FailReason
Source§impl Debug for FailReason
impl Debug for FailReason
Source§impl<'de> Deserialize<'de> for FailReason
impl<'de> Deserialize<'de> for FailReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FailReason
Source§impl Hash for FailReason
impl Hash for FailReason
Source§impl PartialEq for FailReason
impl PartialEq for FailReason
Source§impl Serialize for FailReason
impl Serialize for FailReason
impl StructuralPartialEq for FailReason
Auto Trait Implementations§
impl Freeze for FailReason
impl RefUnwindSafe for FailReason
impl Send for FailReason
impl Sync for FailReason
impl Unpin for FailReason
impl UnsafeUnpin for FailReason
impl UnwindSafe for FailReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more