Enum tidy::ext_tool_checks::Error
source · 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 !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
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