Enum ssh2_patched::CheckResult
source · [−]pub enum CheckResult {
Match,
Mismatch,
NotFound,
Failure,
}
Expand description
Possible results of a call to KnownHosts::check
Variants
Match
Hosts and keys match
Mismatch
Host was found, but the keys didn’t match!
NotFound
No host match was found
Failure
Something prevented the check to be made
Trait Implementations
sourceimpl Clone for CheckResult
impl Clone for CheckResult
sourcefn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
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 CheckResult
impl Debug for CheckResult
impl Copy for CheckResult
Auto Trait Implementations
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnwindSafe for CheckResult
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