Struct seaplane_cli::error::CliError
source · pub struct CliError { /* private fields */ }Implementations§
Trait Implementations§
source§impl Context for CliError
impl Context for CliError
source§fn 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
source§impl Error for CliError
impl Error for CliError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<CliErrorKind> for CliError
impl From<CliErrorKind> for CliError
source§fn from(kind: CliErrorKind) -> Self
fn from(kind: CliErrorKind) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for CliError
impl From<DecodeError> for CliError
source§fn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<FromHexError> for CliError
impl From<FromHexError> for CliError
source§fn from(e: FromHexError) -> Self
fn from(e: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<FromUtf8Error> for CliError
impl From<FromUtf8Error> for CliError
source§fn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for CliError
impl From<ParseError> for CliError
source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for CliError
impl From<ParseIntError> for CliError
source§fn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<PathPersistError> for CliError
impl From<PathPersistError> for CliError
source§fn from(e: PathPersistError) -> Self
fn from(e: PathPersistError) -> Self
Converts to this type from the input type.
source§impl From<PersistError> for CliError
impl From<PersistError> for CliError
source§fn from(e: PersistError) -> Self
fn from(e: PersistError) -> Self
Converts to this type from the input type.
source§impl From<SeaplaneError> for CliError
impl From<SeaplaneError> for CliError
source§fn from(e: SeaplaneError) -> Self
fn from(e: SeaplaneError) -> Self
Converts to this type from the input type.