Struct ssh_key::authorized_keys::ConfigOpts
source · [−]pub struct ConfigOpts(_);This is supported 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 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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl 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
Performs the conversion.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConfigOpts) -> bool
fn ne(&self, other: &ConfigOpts) -> bool
This method tests for !=.
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 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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more