Enum ssh_key::Fingerprint
source · [−]pub enum Fingerprint {
Sha256(Sha256Fingerprint),
}fingerprint only.Expand description
SSH public key fingerprints.
Fingerprints have an associated key fingerprint algorithm, i.e. a hash function which is used to compute the fingerprint.
Variants
Sha256(Sha256Fingerprint)
Fingerprints computed using SHA-256.
Implementations
Trait Implementations
sourceimpl Clone for Fingerprint
impl Clone for Fingerprint
sourcefn clone(&self) -> Fingerprint
fn clone(&self) -> Fingerprint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Fingerprint
impl Debug for Fingerprint
sourceimpl Display for Fingerprint
impl Display for Fingerprint
sourceimpl From<Sha256Fingerprint> for Fingerprint
impl From<Sha256Fingerprint> for Fingerprint
sourcefn from(fingerprint: Sha256Fingerprint) -> Fingerprint
fn from(fingerprint: Sha256Fingerprint) -> Fingerprint
Performs the conversion.
sourceimpl FromStr for Fingerprint
impl FromStr for Fingerprint
sourceimpl Ord for Fingerprint
impl Ord for Fingerprint
sourceimpl PartialEq<Fingerprint> for Fingerprint
impl PartialEq<Fingerprint> for Fingerprint
sourcefn eq(&self, other: &Fingerprint) -> bool
fn eq(&self, other: &Fingerprint) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Fingerprint) -> bool
fn ne(&self, other: &Fingerprint) -> bool
This method tests for !=.
sourceimpl PartialOrd<Fingerprint> for Fingerprint
impl PartialOrd<Fingerprint> for Fingerprint
sourcefn partial_cmp(&self, other: &Fingerprint) -> Option<Ordering>
fn partial_cmp(&self, other: &Fingerprint) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for Fingerprint
impl Eq for Fingerprint
impl StructuralEq for Fingerprint
impl StructuralPartialEq for Fingerprint
Auto Trait Implementations
impl RefUnwindSafe for Fingerprint
impl Send for Fingerprint
impl Sync for Fingerprint
impl Unpin for Fingerprint
impl UnwindSafe for Fingerprint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more