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§
Source§impl VerificationKind
impl VerificationKind
Sourcepub const fn known_variants() -> &'static [Self]
pub const fn known_variants() -> &'static [Self]
Returns all variants except “unknown”
Trait Implementations§
Source§impl Clone for VerificationKind
impl Clone for VerificationKind
Source§fn clone(&self) -> VerificationKind
fn clone(&self) -> VerificationKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VerificationKind
impl Debug for VerificationKind
Source§impl<'de> Deserialize<'de> for VerificationKind
impl<'de> Deserialize<'de> for VerificationKind
Source§fn 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
Source§impl Display for VerificationKind
impl Display for VerificationKind
Source§impl PartialEq for VerificationKind
impl PartialEq for VerificationKind
Source§impl Serialize for VerificationKind
impl Serialize for VerificationKind
impl Copy for VerificationKind
impl Eq for VerificationKind
impl StructuralPartialEq for VerificationKind
Auto Trait Implementations§
impl Freeze for VerificationKind
impl RefUnwindSafe for VerificationKind
impl Send for VerificationKind
impl Sync for VerificationKind
impl Unpin for VerificationKind
impl UnwindSafe for VerificationKind
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