Struct ssh_key::authorized_keys::ConfigOpts
source · [−]pub struct ConfigOpts(_);
Available on crate feature
alloc
only.Expand description
Configuration options associated with a particular public key.
These options are a comma-separated list preceding each public key
in the authorized_keys
file.
The ConfigOpts::iter
method can be used to iterate over each
comma-separated value.
Implementations
sourceimpl ConfigOpts
impl ConfigOpts
sourcepub fn iter(&self) -> ConfigOptsIter<'_>ⓘNotable traits for ConfigOptsIter<'a>impl<'a> Iterator for ConfigOptsIter<'a> type Item = &'a str;
pub fn iter(&self) -> ConfigOptsIter<'_>ⓘNotable traits for ConfigOptsIter<'a>impl<'a> Iterator for ConfigOptsIter<'a> type Item = &'a str;
Iterate over the comma-delimited configuration options.
Trait Implementations
sourceimpl AsRef<str> for ConfigOpts
impl AsRef<str> for ConfigOpts
sourceimpl Clone for ConfigOpts
impl Clone for ConfigOpts
sourcefn clone(&self) -> ConfigOpts
fn clone(&self) -> ConfigOpts
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 ConfigOpts
impl Debug for ConfigOpts
sourceimpl Default for ConfigOpts
impl Default for ConfigOpts
sourcefn default() -> ConfigOpts
fn default() -> ConfigOpts
Returns the “default value” for a type. Read more
sourceimpl Display for ConfigOpts
impl Display for ConfigOpts
sourceimpl From<Entry> for ConfigOpts
impl From<Entry> for ConfigOpts
sourcefn from(entry: Entry) -> ConfigOpts
fn from(entry: Entry) -> ConfigOpts
Converts to this type from the input type.
sourceimpl FromStr for ConfigOpts
impl FromStr for ConfigOpts
sourceimpl PartialEq<ConfigOpts> for ConfigOpts
impl PartialEq<ConfigOpts> for ConfigOpts
sourcefn eq(&self, other: &ConfigOpts) -> bool
fn eq(&self, other: &ConfigOpts) -> bool
impl Eq for ConfigOpts
impl StructuralEq for ConfigOpts
impl StructuralPartialEq for ConfigOpts
Auto Trait Implementations
impl RefUnwindSafe for ConfigOpts
impl Send for ConfigOpts
impl Sync for ConfigOpts
impl Unpin for ConfigOpts
impl UnwindSafe for ConfigOpts
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