Enum ssh_key::known_hosts::HostPatterns
source · [−]Available on crate feature
alloc only.Expand description
The host pattern(s) for this host entry.
The host patterns can either be a comma separated list of host patterns
(which may include glob patterns (* and ?), negations (a ! prefix),
or pattern:port pairs inside square brackets), or a single hashed
hostname prefixed with |1|.
Variants
Patterns(Vec<String>)
A comma separated list of hostname patterns.
HashedName
Fields
A single hashed hostname
Trait Implementations
sourceimpl Clone for HostPatterns
impl Clone for HostPatterns
sourcefn clone(&self) -> HostPatterns
fn clone(&self) -> HostPatterns
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for HostPatterns
impl Debug for HostPatterns
sourceimpl From<Entry> for HostPatterns
impl From<Entry> for HostPatterns
sourcefn from(entry: Entry) -> HostPatterns
fn from(entry: Entry) -> HostPatterns
Converts to this type from the input type.
sourceimpl FromStr for HostPatterns
impl FromStr for HostPatterns
sourceimpl PartialEq<HostPatterns> for HostPatterns
impl PartialEq<HostPatterns> for HostPatterns
sourcefn eq(&self, other: &HostPatterns) -> bool
fn eq(&self, other: &HostPatterns) -> bool
sourceimpl ToString for HostPatterns
impl ToString for HostPatterns
impl Eq for HostPatterns
impl StructuralEq for HostPatterns
impl StructuralPartialEq for HostPatterns
Auto Trait Implementations
impl RefUnwindSafe for HostPatterns
impl Send for HostPatterns
impl Sync for HostPatterns
impl Unpin for HostPatterns
impl UnwindSafe for HostPatterns
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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