pub enum HostKeyType {
Unknown = 0,
Rsa = 1,
Dss = 2,
Ecdsa256 = 3,
Ecdsa384 = 4,
Ecdsa521 = 5,
Ed25519 = 6,
}
Variants§
Trait Implementations§
Source§impl Clone for HostKeyType
impl Clone for HostKeyType
Source§fn clone(&self) -> HostKeyType
fn clone(&self) -> HostKeyType
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 HostKeyType
impl Debug for HostKeyType
Source§impl From<HostKeyType> for KnownHostKeyFormat
impl From<HostKeyType> for KnownHostKeyFormat
Source§fn from(host_type: HostKeyType) -> KnownHostKeyFormat
fn from(host_type: HostKeyType) -> KnownHostKeyFormat
Converts to this type from the input type.
impl Copy for HostKeyType
Auto Trait Implementations§
impl Freeze for HostKeyType
impl RefUnwindSafe for HostKeyType
impl Send for HostKeyType
impl Sync for HostKeyType
impl Unpin for HostKeyType
impl UnwindSafe for HostKeyType
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