Enum distant_net::common::authentication::msg::VerificationKind
source · pub enum VerificationKind {
Host,
Unknown,
}Expand description
Represents the type of verification being requested
Variants
Host
An ask to verify the host such as with SSH
Unknown
When the verification is unknown (happens when other side is unaware of the kind)
Implementations
sourceimpl VerificationKind
impl VerificationKind
sourcepub const fn known_variants() -> &'static [Self] ⓘ
pub const fn known_variants() -> &'static [Self] ⓘ
Returns all variants except “unknown”
Trait Implementations
sourceimpl Clone for VerificationKind
impl Clone for VerificationKind
sourcefn clone(&self) -> VerificationKind
fn clone(&self) -> VerificationKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VerificationKind
impl Debug for VerificationKind
sourceimpl<'de> Deserialize<'de> for VerificationKind
impl<'de> Deserialize<'de> for VerificationKind
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for VerificationKind
impl Display for VerificationKind
sourceimpl PartialEq<VerificationKind> for VerificationKind
impl PartialEq<VerificationKind> for VerificationKind
sourcefn eq(&self, other: &VerificationKind) -> bool
fn eq(&self, other: &VerificationKind) -> bool
sourceimpl Serialize for VerificationKind
impl Serialize for VerificationKind
impl Copy for VerificationKind
impl Eq for VerificationKind
impl StructuralEq for VerificationKind
impl StructuralPartialEq for VerificationKind
Auto Trait Implementations
impl RefUnwindSafe for VerificationKind
impl Send for VerificationKind
impl Sync for VerificationKind
impl Unpin for VerificationKind
impl UnwindSafe for VerificationKind
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