Struct ssh_key::known_hosts::Entry
source · pub struct Entry { /* private fields */ }Available on crate feature
alloc only.Expand description
Individual entry in an known_hosts file containing a single public key.
Implementations§
source§impl Entry
impl Entry
sourcepub fn host_patterns(&self) -> &HostPatterns
pub fn host_patterns(&self) -> &HostPatterns
Get the host pattern enumerator for this entry
sourcepub fn public_key(&self) -> &PublicKey
pub fn public_key(&self) -> &PublicKey
Get public key for this entry.
Trait Implementations§
source§impl From<Entry> for HostPatterns
impl From<Entry> for HostPatterns
source§fn from(entry: Entry) -> HostPatterns
fn from(entry: Entry) -> HostPatterns
Converts to this type from the input type.