pub struct Entry { /* private fields */ }
Expand description
Individual entry in an authorized_keys
file containing a single public key.
Implementations§
source§impl Entry
impl Entry
sourcepub fn config_opts(&self) -> &ConfigOpts
Available on crate feature alloc
only.
pub fn config_opts(&self) -> &ConfigOpts
alloc
only.Get configuration options 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 ConfigOpts
Available on crate feature alloc
only.
impl From<Entry> for ConfigOpts
Available on crate feature
alloc
only.source§fn from(entry: Entry) -> ConfigOpts
fn from(entry: Entry) -> ConfigOpts
Converts to this type from the input type.
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)