Enum cargo_deb::CargoDebError
[−]
pub enum CargoDebError { Io(Error), IoFile(&'static str, Error, PathBuf), CommandFailed(Error, &'static str), CommandError(&'static str, String, Vec<u8>), Str(&'static str), NumParse(&'static str, ParseIntError), InstallFailed, BuildFailed, StripFailed(PathBuf, String), SystemTime(SystemTimeError), ParseTOML(Error), ParseJSON(Error), PackageNotFound(String, Vec<u8>), GlobPatternError(PatternError), AssetGlobError(GlobError), }
Variants
Io(Error)
IoFile(&'static str, Error, PathBuf)
CommandFailed(Error, &'static str)
CommandError(&'static str, String, Vec<u8>)
Str(&'static str)
NumParse(&'static str, ParseIntError)
InstallFailed
BuildFailed
StripFailed(PathBuf, String)
SystemTime(SystemTimeError)
ParseTOML(Error)
ParseJSON(Error)
PackageNotFound(String, Vec<u8>)
GlobPatternError(PatternError)
AssetGlobError(GlobError)
Trait Implementations
impl Debug for CargoDebError
[src]
impl Display for CargoDebError
impl Error for CargoDebError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for CargoDebError
fn from(err: Error) -> CargoDebError
Performs the conversion.
impl From<&'static str> for CargoDebError
fn from(msg: &'static str) -> CargoDebError
Performs the conversion.
impl From<SystemTimeError> for CargoDebError
fn from(err: SystemTimeError) -> CargoDebError
Performs the conversion.
impl From<Error> for CargoDebError
fn from(err: Error) -> CargoDebError
Performs the conversion.
impl From<Error> for CargoDebError
fn from(err: Error) -> CargoDebError
Performs the conversion.
impl From<PatternError> for CargoDebError
fn from(err: PatternError) -> CargoDebError
Performs the conversion.
impl From<GlobError> for CargoDebError
fn from(err: GlobError) -> CargoDebError
Performs the conversion.