Struct telexide_fork::framework::CommandError
source · pub struct CommandError(_);Expand description
The error to be returned from a command.
It can be formed from anything implementing std::fmt::Display, but won’t
contain more data than a String
Trait Implementations§
source§impl Clone for CommandError
impl Clone for CommandError
source§fn clone(&self) -> CommandError
fn clone(&self) -> CommandError
Returns a copy 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 CommandError
impl Debug for CommandError
source§impl From<CommandError> for Error
impl From<CommandError> for Error
source§fn from(d: CommandError) -> Self
fn from(d: CommandError) -> Self
Converts to this type from the input type.