pub enum ErrorRootCause {
ApiError(usize),
FfiNulError(NulError),
InvalidCString,
FromUtf8Error(FromUtf8Error),
Utf8Error(Utf8Error),
TryFromIntError(TryFromIntError),
}
Expand description
Enumeration of error root causes. Where appropriate it wraps underlying error.
Variants
ApiError(usize)
FfiNulError(NulError)
InvalidCString
FromUtf8Error(FromUtf8Error)
Utf8Error(Utf8Error)
TryFromIntError(TryFromIntError)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorRootCause
impl Send for ErrorRootCause
impl Sync for ErrorRootCause
impl Unpin for ErrorRootCause
impl UnwindSafe for ErrorRootCause
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more