pub enum UnrError {
IoError(Error),
EncodingError(EncodingError),
DecodingError(DecodingError),
}Variants§
Trait Implementations§
Source§impl From<DecodingError> for UnrError
impl From<DecodingError> for UnrError
Source§fn from(e: DecodingError) -> UnrError
fn from(e: DecodingError) -> UnrError
Converts to this type from the input type.
Source§impl From<EncodingError> for UnrError
impl From<EncodingError> for UnrError
Source§fn from(e: EncodingError) -> UnrError
fn from(e: EncodingError) -> UnrError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnrError
impl !RefUnwindSafe for UnrError
impl Send for UnrError
impl Sync for UnrError
impl Unpin for UnrError
impl !UnwindSafe for UnrError
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