pub enum HostKeyPath {
Name,
Front,
Direct,
}Expand description
How a caller reached the box it is checking the host key of.
Three, and they must agree. Name resolves through DNS to the front and
then through the DNAT; Front skips the DNS; Direct skips the DNAT too
and talks to the appliance’s own public address. One key on three paths is
a re-imaged machine; one path disagreeing is a hijacked name.
Variants§
Implementations§
Source§impl HostKeyPath
impl HostKeyPath
Trait Implementations§
Source§impl Clone for HostKeyPath
impl Clone for HostKeyPath
impl Copy for HostKeyPath
Source§impl Debug for HostKeyPath
impl Debug for HostKeyPath
impl Eq for HostKeyPath
Source§impl PartialEq for HostKeyPath
impl PartialEq for HostKeyPath
impl StructuralPartialEq for HostKeyPath
Auto Trait Implementations§
impl Freeze for HostKeyPath
impl RefUnwindSafe for HostKeyPath
impl Send for HostKeyPath
impl Sync for HostKeyPath
impl Unpin for HostKeyPath
impl UnsafeUnpin for HostKeyPath
impl UnwindSafe for HostKeyPath
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