enum Error {
Io(Error),
MissingReq(&'static str, &'static str, Option<String>),
FailedCheck(&'static str),
Generic(String),
Version {
program: &'static str,
required: &'static str,
installed: String,
},
}
Variants§
Io(Error)
MissingReq(&'static str, &'static str, Option<String>)
a is required to run b. c is extra info
FailedCheck(&'static str)
Tool x failed the check
Generic(String)
Any message, just print it
Version
Installed but wrong version
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes
Size for each variant:
Io
: 8 bytesMissingReq
: 56 bytesFailedCheck
: 16 bytesGeneric
: 24 bytesVersion
: 56 bytes