Enum near_crypto::ParseSignatureError
source · pub enum ParseSignatureError {
UnknownKeyType {
unknown_key_type: String,
},
InvalidLength {
expected_length: usize,
received_length: usize,
},
InvalidData {
error_message: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for ParseSignatureError
impl Clone for ParseSignatureError
source§fn clone(&self) -> ParseSignatureError
fn clone(&self) -> ParseSignatureError
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 ParseSignatureError
impl Debug for ParseSignatureError
source§impl Display for ParseSignatureError
impl Display for ParseSignatureError
source§impl Error for ParseSignatureError
impl Error for ParseSignatureError
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<ParseKeyTypeError> for ParseSignatureError
impl From<ParseKeyTypeError> for ParseSignatureError
source§fn from(err: ParseKeyTypeError) -> Self
fn from(err: ParseKeyTypeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseSignatureError
impl RefUnwindSafe for ParseSignatureError
impl Send for ParseSignatureError
impl Sync for ParseSignatureError
impl Unpin for ParseSignatureError
impl UnwindSafe for ParseSignatureError
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