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