pub struct HostKeyMismatch {
pub host: String,
pub port: u16,
pub expected_fingerprint: String,
pub got_fingerprint: String,
pub store_path: PathBuf,
}Expand description
Details surfaced to the user when Verdict::Mismatch caused a rejection.
Fields§
§host: String§port: u16§expected_fingerprint: String§got_fingerprint: String§store_path: PathBufTrait Implementations§
Source§impl Clone for HostKeyMismatch
impl Clone for HostKeyMismatch
Source§fn clone(&self) -> HostKeyMismatch
fn clone(&self) -> HostKeyMismatch
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 moreAuto Trait Implementations§
impl Freeze for HostKeyMismatch
impl RefUnwindSafe for HostKeyMismatch
impl Send for HostKeyMismatch
impl Sync for HostKeyMismatch
impl Unpin for HostKeyMismatch
impl UnsafeUnpin for HostKeyMismatch
impl UnwindSafe for HostKeyMismatch
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