Struct ssh_key::authorized_keys::ConfigOpts
source · pub struct ConfigOpts(/* private fields */);
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§
source§impl ConfigOpts
impl ConfigOpts
sourcepub fn iter(&self) -> ConfigOptsIter<'_> ⓘ
pub fn iter(&self) -> ConfigOptsIter<'_> ⓘ
Iterate over the comma-delimited configuration options.
Trait Implementations§
source§impl AsRef<str> for ConfigOpts
impl AsRef<str> for ConfigOpts
source§impl Clone for ConfigOpts
impl Clone for ConfigOpts
source§fn clone(&self) -> ConfigOpts
fn clone(&self) -> ConfigOpts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConfigOpts
impl Debug for ConfigOpts
source§impl Default for ConfigOpts
impl Default for ConfigOpts
source§fn default() -> ConfigOpts
fn default() -> ConfigOpts
Returns the “default value” for a type. Read more
source§impl Display for ConfigOpts
impl Display for ConfigOpts
source§impl From<Entry> for ConfigOpts
impl From<Entry> for ConfigOpts
source§fn from(entry: Entry) -> ConfigOpts
fn from(entry: Entry) -> ConfigOpts
Converts to this type from the input type.
source§impl FromStr for ConfigOpts
impl FromStr for ConfigOpts
source§impl PartialEq for ConfigOpts
impl PartialEq for ConfigOpts
impl Eq for ConfigOpts
impl StructuralPartialEq for ConfigOpts
Auto Trait Implementations§
impl Freeze for ConfigOpts
impl RefUnwindSafe for ConfigOpts
impl Send for ConfigOpts
impl Sync for ConfigOpts
impl Unpin for ConfigOpts
impl UnwindSafe for ConfigOpts
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)