[−][src]Enum libcryptsetup_rs::LibcryptErr
Error returned from any libcryptsetup-rs function
Variants
IOError(Error)
Wrapper for io::Error
UuidError(ParseError)
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
impl Send for LibcryptErr
impl Sync for LibcryptErr
impl Unpin for LibcryptErr
impl !UnwindSafe for LibcryptErr
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,
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.
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>,