pub enum ListCommandError {
Usage(&'static str),
MissingOption(&'static str),
UnknownOption(String),
MissingValue(&'static str),
ConflictingRegistrySources,
CanisterNotInRegistry(String),
DfxFailed {
command: String,
stderr: String,
},
Io(Error),
Json(Error),
Snapshot(SnapshotCommandError),
}Expand description
ListCommandError
Variants§
Usage(&'static str)
MissingOption(&'static str)
UnknownOption(String)
MissingValue(&'static str)
ConflictingRegistrySources
CanisterNotInRegistry(String)
DfxFailed
Io(Error)
Json(Error)
Snapshot(SnapshotCommandError)
Trait Implementations§
Source§impl Debug for ListCommandError
impl Debug for ListCommandError
Source§impl Display for ListCommandError
impl Display for ListCommandError
Source§impl Error for ListCommandError
impl Error for ListCommandError
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<Error> for ListCommandError
impl From<Error> for ListCommandError
Source§impl From<Error> for ListCommandError
impl From<Error> for ListCommandError
Source§impl From<ListCommandError> for CliError
impl From<ListCommandError> for CliError
Source§fn from(source: ListCommandError) -> Self
fn from(source: ListCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotCommandError> for ListCommandError
impl From<SnapshotCommandError> for ListCommandError
Source§fn from(source: SnapshotCommandError) -> Self
fn from(source: SnapshotCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListCommandError
impl !RefUnwindSafe for ListCommandError
impl Send for ListCommandError
impl Sync for ListCommandError
impl Unpin for ListCommandError
impl UnsafeUnpin for ListCommandError
impl !UnwindSafe for ListCommandError
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