Struct thrussh_keys::key::Name [−][src]
pub struct Name(pub &'static str);
Name of a public key algorithm.
Methods
impl Name
[src]
impl Name
pub fn identity_file(&self) -> &'static str
[src]
pub fn identity_file(&self) -> &'static str
Base name of the private key file for a key name.
Trait Implementations
impl Debug for Name
[src]
impl Debug for Name
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Name
[src]
impl PartialEq for Name
fn eq(&self, other: &Name) -> bool
[src]
fn eq(&self, other: &Name) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Name) -> bool
[src]
fn ne(&self, other: &Name) -> bool
This method tests for !=
.
impl Eq for Name
[src]
impl Eq for Name
impl Copy for Name
[src]
impl Copy for Name
impl Clone for Name
[src]
impl Clone for Name
fn clone(&self) -> Name
[src]
fn clone(&self) -> Name
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl AsRef<str> for Name
[src]
impl AsRef<str> for Name