Enum xplm::command::CommandFindError
source · pub enum CommandFindError {
Null(NulError),
NotFound,
}
Expand description
Errors that can occur when finding a command
Variants§
Null(NulError)
The provided command name contained a null byte
NotFound
The Command could not be found
Trait Implementations§
source§impl Debug for CommandFindError
impl Debug for CommandFindError
source§impl Display for CommandFindError
impl Display for CommandFindError
source§impl Error for CommandFindError
impl Error for CommandFindError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CommandFindError
impl RefUnwindSafe for CommandFindError
impl Send for CommandFindError
impl Sync for CommandFindError
impl Unpin for CommandFindError
impl UnwindSafe for CommandFindError
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