Enum near_crypto::ParseKeyTypeError
source · pub enum ParseKeyTypeError {
UnknownKeyType {
unknown_key_type: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for ParseKeyTypeError
impl Clone for ParseKeyTypeError
source§fn clone(&self) -> ParseKeyTypeError
fn clone(&self) -> ParseKeyTypeError
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 ParseKeyTypeError
impl Debug for ParseKeyTypeError
source§impl Display for ParseKeyTypeError
impl Display for ParseKeyTypeError
source§impl Error for ParseKeyTypeError
impl Error for ParseKeyTypeError
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.
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 RefUnwindSafe for ParseKeyTypeError
impl Send for ParseKeyTypeError
impl Sync for ParseKeyTypeError
impl Unpin for ParseKeyTypeError
impl UnwindSafe for ParseKeyTypeError
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