Enum cargo_deb::CargoDebError [−][src]
pub enum CargoDebError {}Show 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, DebHelperReplaceFailed(PathBuf), StripFailed(PathBuf, String), SystemTime(SystemTimeError), ParseTOML(Error), ParseJSON(Error), ParseUTF8(Utf8Error), PackageNotFound(String, Vec<u8>), PackageNotFoundInWorkspace(String, String), NoRootFoundInWorkspace(String), VariantNotFound(String), GlobPatternError(PatternError), AssetFileNotFound(PathBuf), AssetGlobError(GlobError), LzmaCompressionError(Error),
Variants
Io(Error)
Str(&'static str)
NumParse(&'static str, ParseIntError)
DebHelperReplaceFailed(PathBuf)
SystemTime(SystemTimeError)
ParseTOML(Error)
ParseJSON(Error)
ParseUTF8(Utf8Error)
NoRootFoundInWorkspace(String)
VariantNotFound(String)
GlobPatternError(PatternError)
AssetFileNotFound(PathBuf)
AssetGlobError(GlobError)
LzmaCompressionError(Error)
Trait Implementations
impl Debug for CargoDebError
[src]
impl Debug for CargoDebError
[src]impl Display for CargoDebError
[src]
impl Display for CargoDebError
[src]impl Error for CargoDebError
[src]
impl Error for CargoDebError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<&'static str> for CargoDebError
[src]
impl From<&'static str> for CargoDebError
[src]fn from(msg: &'static str) -> CargoDebError
[src]
fn from(msg: &'static str) -> CargoDebError
[src]Performs the conversion.
impl From<Error> for CargoDebError
[src]
impl From<Error> for CargoDebError
[src]fn from(err: Error) -> CargoDebError
[src]
fn from(err: Error) -> CargoDebError
[src]Performs the conversion.
impl From<Error> for CargoDebError
[src]
impl From<Error> for CargoDebError
[src]fn from(err: Error) -> CargoDebError
[src]
fn from(err: Error) -> CargoDebError
[src]Performs the conversion.
impl From<Error> for CargoDebError
[src]
impl From<Error> for CargoDebError
[src]fn from(err: Error) -> CargoDebError
[src]
fn from(err: Error) -> CargoDebError
[src]Performs the conversion.
impl From<FromUtf8Error> for CargoDebError
[src]
impl From<FromUtf8Error> for CargoDebError
[src]fn from(err: FromUtf8Error) -> CargoDebError
[src]
fn from(err: FromUtf8Error) -> CargoDebError
[src]Performs the conversion.
impl From<GlobError> for CargoDebError
[src]
impl From<GlobError> for CargoDebError
[src]fn from(err: GlobError) -> CargoDebError
[src]
fn from(err: GlobError) -> CargoDebError
[src]Performs the conversion.
impl From<PatternError> for CargoDebError
[src]
impl From<PatternError> for CargoDebError
[src]fn from(err: PatternError) -> CargoDebError
[src]
fn from(err: PatternError) -> CargoDebError
[src]Performs the conversion.
impl From<SystemTimeError> for CargoDebError
[src]
impl From<SystemTimeError> for CargoDebError
[src]fn from(err: SystemTimeError) -> CargoDebError
[src]
fn from(err: SystemTimeError) -> CargoDebError
[src]Performs the conversion.
impl From<Utf8Error> for CargoDebError
[src]
impl From<Utf8Error> for CargoDebError
[src]fn from(err: Utf8Error) -> CargoDebError
[src]
fn from(err: Utf8Error) -> CargoDebError
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CargoDebError
impl Send for CargoDebError
impl Sync for CargoDebError
impl Unpin for CargoDebError
impl !UnwindSafe for CargoDebError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T