pub enum SignatureError {
    SizeInvalid {
        expected: usize,
        got: usize,
    },
    StructureInvalid,
}Variants§
Trait Implementations§
source§impl Clone for SignatureError
 
impl Clone for SignatureError
source§fn clone(&self) -> SignatureError
 
fn clone(&self) -> SignatureError
Returns a copy 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 SignatureError
 
impl Debug for SignatureError
source§impl Display for SignatureError
 
impl Display for SignatureError
source§impl Error for SignatureError
 
impl Error for SignatureError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<SignatureError> for DeserializeError
 
impl From<SignatureError> for DeserializeError
source§fn from(err: SignatureError) -> DeserializeError
 
fn from(err: SignatureError) -> DeserializeError
Converts to this type from the input type.
source§impl From<SignatureError> for SignatureError
 
impl From<SignatureError> for SignatureError
source§fn from(v: SignatureError) -> Self
 
fn from(v: SignatureError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SignatureError
 
impl PartialEq for SignatureError
source§fn eq(&self, other: &SignatureError) -> bool
 
fn eq(&self, other: &SignatureError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for SignatureError
impl Eq for SignatureError
impl StructuralEq for SignatureError
impl StructuralPartialEq for SignatureError
Auto Trait Implementations§
impl RefUnwindSafe for SignatureError
impl Send for SignatureError
impl Sync for SignatureError
impl Unpin for SignatureError
impl UnwindSafe for SignatureError
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