pub enum NinResError {
TypeUnknownOrNotImplemented([u8; 4]),
IoError(Error),
ByteOrderInvalid,
TryFromSlice(TryFromSliceError),
Utf8(Utf8Error),
TarAppend,
ZstdError(String),
}Variants§
TypeUnknownOrNotImplemented([u8; 4])
IoError(Error)
ByteOrderInvalid
TryFromSlice(TryFromSliceError)
Utf8(Utf8Error)
TarAppend
ZstdError(String)
Trait Implementations§
Source§impl Debug for NinResError
impl Debug for NinResError
Source§impl Display for NinResError
impl Display for NinResError
Source§impl Error for NinResError
impl Error for NinResError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<'a> From<Error> for NinResError
impl<'a> From<Error> for NinResError
Source§impl<'a> From<FromUtf8Error> for NinResError
impl<'a> From<FromUtf8Error> for NinResError
Source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl<'a> From<TryFromPrimitiveError<ByteOrderMask>> for NinResError
impl<'a> From<TryFromPrimitiveError<ByteOrderMask>> for NinResError
Source§fn from(_: TryFromPrimitiveError<ByteOrderMask>) -> Self
fn from(_: TryFromPrimitiveError<ByteOrderMask>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<TryFromSliceError> for NinResError
impl<'a> From<TryFromSliceError> for NinResError
Source§fn from(err: TryFromSliceError) -> Self
fn from(err: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NinResError
impl !RefUnwindSafe for NinResError
impl Send for NinResError
impl Sync for NinResError
impl Unpin for NinResError
impl !UnwindSafe for NinResError
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