pub struct CommandError(pub String);
Tuple Fields§
§0: String
Trait Implementations§
Source§impl From<Error> for CommandError
impl From<Error> for CommandError
Source§fn from(error: Error) -> CommandError
fn from(error: Error) -> CommandError
Converts to this type from the input type.
Source§impl From<Error> for CommandError
impl From<Error> for CommandError
Source§fn from(e: Error) -> CommandError
fn from(e: Error) -> CommandError
Converts to this type from the input type.
Source§impl From<Value> for CommandError
impl From<Value> for CommandError
Source§fn from(error: Value) -> CommandError
fn from(error: Value) -> CommandError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommandError
impl RefUnwindSafe for CommandError
impl Send for CommandError
impl Sync for CommandError
impl Unpin for CommandError
impl UnwindSafe for CommandError
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