Enum libcryptsetup_rs::LibcryptErr [−][src]
Error returned from any libcryptsetup-rs function
Variants
IOError(Error)Wrapper for io::Error
UuidError(Error)Wrapper for uuid::parser::ParseError
NullError(NulError)Wrapper for ffi::NulError
Utf8Error(Utf8Error)Wrapper for str::Utf8Error
JsonError(Error)Wrapper for serde_json::Error
Indicates that a Rust/C conversion was unsuccessful
Indicates that a pointer returned was null signifying an error
NoNull(&'static str)Indicates that a &'static str was not created with c_str!() macro
Other(String)Custom message
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LibcryptErr[src]
impl Send for LibcryptErr[src]
impl Sync for LibcryptErr[src]
impl Unpin for LibcryptErr[src]
impl !UnwindSafe for LibcryptErr[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,