pub enum DemarshalError {
MessageTooShort,
CorruptedMessage,
BadUTF8,
BadSignature,
ElementTooBig,
MismatchedParens,
}Variants§
Trait Implementations§
Source§impl Clone for DemarshalError
impl Clone for DemarshalError
Source§fn clone(&self) -> DemarshalError
fn clone(&self) -> DemarshalError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DemarshalError
impl Debug for DemarshalError
Source§impl Display for DemarshalError
impl Display for DemarshalError
Source§impl From<DemarshalError> for Error
impl From<DemarshalError> for Error
Source§fn from(x: DemarshalError) -> Self
fn from(x: DemarshalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DemarshalError
impl RefUnwindSafe for DemarshalError
impl Send for DemarshalError
impl Sync for DemarshalError
impl Unpin for DemarshalError
impl UnwindSafe for DemarshalError
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