Enum ssh2_patched::HostKeyType
source · [−]pub enum HostKeyType {
Unknown,
Rsa,
Dss,
Ecdsa256,
Ecdsa384,
Ecdsa521,
Ed255219,
}
Variants
Unknown
Rsa
Dss
Ecdsa256
Ecdsa384
Ecdsa521
Ed255219
Trait Implementations
sourceimpl Clone for HostKeyType
impl Clone for HostKeyType
sourcefn clone(&self) -> HostKeyType
fn clone(&self) -> HostKeyType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HostKeyType
impl Debug for HostKeyType
sourceimpl From<HostKeyType> for KnownHostKeyFormat
impl From<HostKeyType> for KnownHostKeyFormat
sourcefn 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 RefUnwindSafe for HostKeyType
impl Send for HostKeyType
impl Sync for HostKeyType
impl Unpin for HostKeyType
impl UnwindSafe for HostKeyType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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