#[repr(u32)]pub enum CertType {
User = 1,
Host = 2,
}Available on crate feature
alloc only.Expand description
Types of OpenSSH certificates: user or host.
Variants§
Implementations§
Trait Implementations§
Source§impl Encode for CertType
impl Encode for CertType
Source§fn encoded_len(&self) -> Result<usize>
fn encoded_len(&self) -> Result<usize>
Get the length of this type encoded in bytes, prior to Base64 encoding. Read more
Source§fn encoded_len_prefixed(&self) -> Result<usize, Error>
fn encoded_len_prefixed(&self) -> Result<usize, Error>
Return the length of this type after encoding when prepended with a
uint32 length prefix. Read moreSource§impl Ord for CertType
impl Ord for CertType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CertType
impl PartialOrd for CertType
impl 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 UnsafeUnpin 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