Enum ceres_cli::Error [−][src]
pub enum Error {
CouldNotParseCommand(String),
DecodeAddressFailed(String),
FileSystemError(Error),
SledError(Error),
Custom(&'static str),
IoError(Error),
RuntimeError(Error),
ParseContractFailed(String),
SerializeFailed(Error),
}Expand description
Ceres CLI Error
Variants
CouldNotParseCommand(String)DecodeAddressFailed(String)FileSystemError(Error)SledError(Error)Custom(&'static str)IoError(Error)RuntimeError(Error)ParseContractFailed(String)SerializeFailed(Error)Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Errorimpl !UnwindSafe for ErrorBlanket Implementations
impl<T> AsErrorSource for T where
T: 'static + Error,
impl<T> AsErrorSource for T where
T: 'static + Error, pub fn as_error_source(&self) -> &(dyn Error + 'static)
pub fn as_error_source(&self) -> &(dyn Error + 'static)For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers. Read more
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V