#[repr(u8)]pub enum TlsCipherEncMode {
Null = 0,
Cbc = 1,
Ccm = 2,
Gcm = 3,
}
Expand description
Encryption modes
Variants§
Trait Implementations§
Source§impl Clone for TlsCipherEncMode
impl Clone for TlsCipherEncMode
Source§fn clone(&self) -> TlsCipherEncMode
fn clone(&self) -> TlsCipherEncMode
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 TlsCipherEncMode
impl Debug for TlsCipherEncMode
Source§impl PartialEq for TlsCipherEncMode
impl PartialEq for TlsCipherEncMode
Source§impl TryFrom<u8> for TlsCipherEncMode
impl TryFrom<u8> for TlsCipherEncMode
Source§type Error = TryFromPrimitiveError<TlsCipherEncMode>
type Error = TryFromPrimitiveError<TlsCipherEncMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TlsCipherEncMode
impl TryFromPrimitive for TlsCipherEncMode
const NAME: &'static str = "TlsCipherEncMode"
type Primitive = u8
type Error = TryFromPrimitiveError<TlsCipherEncMode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for TlsCipherEncMode
impl Eq for TlsCipherEncMode
impl StructuralPartialEq for TlsCipherEncMode
Auto Trait Implementations§
impl Freeze for TlsCipherEncMode
impl RefUnwindSafe for TlsCipherEncMode
impl Send for TlsCipherEncMode
impl Sync for TlsCipherEncMode
impl Unpin for TlsCipherEncMode
impl UnwindSafe for TlsCipherEncMode
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