Enum ssh2::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§
source§impl Clone for CheckResult
impl Clone for CheckResult
source§fn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more