pub enum IcqCliError {
Usage(String),
Nns(NnsCommandError),
Icrc(IcrcError),
Sns(SnsCommandError),
}Expand description
IcqCliError
Top-level CLI dispatch error.
Variants§
Implementations§
Source§impl IcqCliError
impl IcqCliError
Trait Implementations§
Source§impl Debug for IcqCliError
impl Debug for IcqCliError
Source§impl Display for IcqCliError
impl Display for IcqCliError
Source§impl Error for IcqCliError
impl Error for IcqCliError
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<IcrcError> for IcqCliError
impl From<IcrcError> for IcqCliError
Source§impl From<NnsCommandError> for IcqCliError
impl From<NnsCommandError> for IcqCliError
Source§fn from(source: NnsCommandError) -> Self
fn from(source: NnsCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SnsCommandError> for IcqCliError
impl From<SnsCommandError> for IcqCliError
Source§fn from(source: SnsCommandError) -> Self
fn from(source: SnsCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IcqCliError
impl !UnwindSafe for IcqCliError
impl Freeze for IcqCliError
impl Send for IcqCliError
impl Sync for IcqCliError
impl Unpin for IcqCliError
impl UnsafeUnpin for IcqCliError
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