#[repr(u8)]pub enum ActionError {
Unknown = 0,
Interrupted = 1,
}Variants§
Unknown = 0
Other reason not listed in the row(s) below
Interrupted = 1
The action was interrupted by another command or interaction
Implementations§
Trait Implementations§
Source§impl Clone for ActionError
impl Clone for ActionError
Source§fn clone(&self) -> ActionError
fn clone(&self) -> ActionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionError
impl Debug for ActionError
Source§impl<'de> Deserialize<'de> for ActionError
impl<'de> Deserialize<'de> for ActionError
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
Source§impl From<ActionError> for u8
impl From<ActionError> for u8
Source§fn from(val: ActionError) -> Self
fn from(val: ActionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionError
impl PartialEq for ActionError
Source§impl Serialize for ActionError
impl Serialize for ActionError
impl Copy for ActionError
impl Eq for ActionError
impl StructuralPartialEq for ActionError
Auto Trait Implementations§
impl Freeze for ActionError
impl RefUnwindSafe for ActionError
impl Send for ActionError
impl Sync for ActionError
impl Unpin for ActionError
impl UnwindSafe for ActionError
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