Enum ssh_key::certificate::CertType
source · #[repr(u32)]pub enum CertType {
User = 1,
Host = 2,
}
Expand description
Types of OpenSSH certificates: user or host.
Variants§
Implementations§
Trait Implementations§
source§impl Ord for CertType
impl Ord for CertType
source§impl PartialEq for CertType
impl PartialEq for CertType
source§impl PartialOrd for CertType
impl PartialOrd for CertType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CertType
impl Eq for CertType
impl StructuralPartialEq for CertType
Auto Trait Implementations§
impl Freeze for CertType
impl RefUnwindSafe for CertType
impl Send for CertType
impl Sync for CertType
impl Unpin for CertType
impl UnwindSafe for CertType
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