pub enum SshKeyError {
InvalidFormat(String),
UnsupportedKeyType,
}Expand description
Errors from parsing an OpenSSH Ed25519 public key.
Variants§
Trait Implementations§
Source§impl Clone for SshKeyError
impl Clone for SshKeyError
Source§fn clone(&self) -> SshKeyError
fn clone(&self) -> SshKeyError
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 SshKeyError
impl Debug for SshKeyError
Source§impl Display for SshKeyError
impl Display for SshKeyError
Source§impl Error for SshKeyError
impl Error for SshKeyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for SshKeyError
impl PartialEq for SshKeyError
impl Eq for SshKeyError
impl StructuralPartialEq for SshKeyError
Auto Trait Implementations§
impl Freeze for SshKeyError
impl RefUnwindSafe for SshKeyError
impl Send for SshKeyError
impl Sync for SshKeyError
impl Unpin for SshKeyError
impl UnsafeUnpin for SshKeyError
impl UnwindSafe for SshKeyError
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