pub enum CommandConfigError {
SerdeJson(Error),
Hex(FromHexError),
Utf8(FromUtf8Error),
}
Expand description
Error type for CommandConfig.
Variants§
Trait Implementations§
Source§impl Debug for CommandConfigError
impl Debug for CommandConfigError
Source§impl Display for CommandConfigError
impl Display for CommandConfigError
Source§impl Error for CommandConfigError
impl Error for CommandConfigError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<CommandConfigError> for QueryError
impl From<CommandConfigError> for QueryError
Source§fn from(source: CommandConfigError) -> Self
fn from(source: CommandConfigError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CommandConfigError
impl From<Error> for CommandConfigError
Source§impl From<FromHexError> for CommandConfigError
impl From<FromHexError> for CommandConfigError
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for CommandConfigError
impl From<FromUtf8Error> for CommandConfigError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommandConfigError
impl !RefUnwindSafe for CommandConfigError
impl Send for CommandConfigError
impl Sync for CommandConfigError
impl Unpin for CommandConfigError
impl !UnwindSafe for CommandConfigError
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