Struct seaplane_cli::error::CliError
source · pub struct CliError { /* private fields */ }Implementations
Trait Implementations
sourceimpl Context for CliError
impl Context for CliError
sourcefn color_context<S: Into<String>>(self, color: Color, msg: S) -> Self
fn color_context<S: Into<String>>(self, color: Color, msg: S) -> Self
A simple context that will color the output Read more
sourceimpl Error for CliError
impl Error for CliError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<CliErrorKind> for CliError
impl From<CliErrorKind> for CliError
sourcefn from(kind: CliErrorKind) -> Self
fn from(kind: CliErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<DecodeError> for CliError
impl From<DecodeError> for CliError
sourcefn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
sourceimpl From<FromHexError> for CliError
impl From<FromHexError> for CliError
sourcefn from(e: FromHexError) -> Self
fn from(e: FromHexError) -> Self
Converts to this type from the input type.
sourceimpl From<FromUtf8Error> for CliError
impl From<FromUtf8Error> for CliError
sourcefn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<ImageReferenceError> for CliError
impl From<ImageReferenceError> for CliError
sourcefn from(e: ImageReferenceError) -> Self
fn from(e: ImageReferenceError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for CliError
impl From<ParseError> for CliError
sourcefn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseIntError> for CliError
impl From<ParseIntError> for CliError
sourcefn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
sourceimpl From<PathPersistError> for CliError
impl From<PathPersistError> for CliError
sourcefn from(e: PathPersistError) -> Self
fn from(e: PathPersistError) -> Self
Converts to this type from the input type.
sourceimpl From<PersistError> for CliError
impl From<PersistError> for CliError
sourcefn from(e: PersistError) -> Self
fn from(e: PersistError) -> Self
Converts to this type from the input type.
sourceimpl From<SeaplaneError> for CliError
impl From<SeaplaneError> for CliError
sourcefn from(e: SeaplaneError) -> Self
fn from(e: SeaplaneError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for CliError
impl Send for CliError
impl Sync for CliError
impl Unpin for CliError
impl !UnwindSafe for CliError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more