Enum qapi_qmp::SshHostKeyCheck
source · pub enum SshHostKeyCheck {
hash(SshHostKeyHash),
none,
known_hosts,
}
Variants§
Implementations§
source§impl SshHostKeyCheck
impl SshHostKeyCheck
pub fn mode(&self) -> SshHostKeyCheckMode
Trait Implementations§
source§impl Clone for SshHostKeyCheck
impl Clone for SshHostKeyCheck
source§fn clone(&self) -> SshHostKeyCheck
fn clone(&self) -> SshHostKeyCheck
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 moresource§impl Debug for SshHostKeyCheck
impl Debug for SshHostKeyCheck
source§impl<'de> Deserialize<'de> for SshHostKeyCheck
impl<'de> Deserialize<'de> for SshHostKeyCheck
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<SshHostKeyHash> for SshHostKeyCheck
impl From<SshHostKeyHash> for SshHostKeyCheck
source§fn from(val: SshHostKeyHash) -> Self
fn from(val: SshHostKeyHash) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SshHostKeyCheck
impl Send for SshHostKeyCheck
impl Sync for SshHostKeyCheck
impl Unpin for SshHostKeyCheck
impl UnwindSafe for SshHostKeyCheck
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