pub enum UseCommandErrorKind {
ExecutionFailed,
InvalidArgs,
NotFound,
Other,
}Expand description
use_command 错误类型
Variants§
Trait Implementations§
Source§impl Clone for UseCommandErrorKind
impl Clone for UseCommandErrorKind
Source§fn clone(&self) -> UseCommandErrorKind
fn clone(&self) -> UseCommandErrorKind
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 moreSource§impl Debug for UseCommandErrorKind
impl Debug for UseCommandErrorKind
Source§impl Serialize for UseCommandErrorKind
impl Serialize for UseCommandErrorKind
impl Copy for UseCommandErrorKind
Auto Trait Implementations§
impl Freeze for UseCommandErrorKind
impl RefUnwindSafe for UseCommandErrorKind
impl Send for UseCommandErrorKind
impl Sync for UseCommandErrorKind
impl Unpin for UseCommandErrorKind
impl UnsafeUnpin for UseCommandErrorKind
impl UnwindSafe for UseCommandErrorKind
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