pub enum KeyCheckOutcome {
Accepted,
AcceptedNew,
KeyChanged,
UnknownRejected,
}Expand description
Outcome of a host key check, recorded for recovery decisions in the connection layer.
Variants§
Accepted
Key matched an existing known_hosts entry.
AcceptedNew
New key was learned and accepted (accept-new mode only).
KeyChanged
Key differs from the known_hosts entry (rotation or MITM).
UnknownRejected
Unknown key was rejected (strict mode only).
Trait Implementations§
Source§impl Clone for KeyCheckOutcome
impl Clone for KeyCheckOutcome
Source§fn clone(&self) -> KeyCheckOutcome
fn clone(&self) -> KeyCheckOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeyCheckOutcome
Source§impl Debug for KeyCheckOutcome
impl Debug for KeyCheckOutcome
impl Eq for KeyCheckOutcome
Source§impl PartialEq for KeyCheckOutcome
impl PartialEq for KeyCheckOutcome
impl StructuralPartialEq for KeyCheckOutcome
Auto Trait Implementations§
impl Freeze for KeyCheckOutcome
impl RefUnwindSafe for KeyCheckOutcome
impl Send for KeyCheckOutcome
impl Sync for KeyCheckOutcome
impl Unpin for KeyCheckOutcome
impl UnsafeUnpin for KeyCheckOutcome
impl UnwindSafe for KeyCheckOutcome
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