Enum pna::CipherMode
source · #[repr(u8)]pub enum CipherMode {
CBC,
CTR,
}Variants§
Trait Implementations§
source§impl Clone for CipherMode
impl Clone for CipherMode
source§fn clone(&self) -> CipherMode
fn clone(&self) -> CipherMode
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 CipherMode
impl Debug for CipherMode
source§impl Hash for CipherMode
impl Hash for CipherMode
source§impl Ord for CipherMode
impl Ord for CipherMode
source§fn cmp(&self, other: &CipherMode) -> Ordering
fn cmp(&self, other: &CipherMode) -> Ordering
1.21.0 · 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 PartialEq<CipherMode> for CipherMode
impl PartialEq<CipherMode> for CipherMode
source§fn eq(&self, other: &CipherMode) -> bool
fn eq(&self, other: &CipherMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<CipherMode> for CipherMode
impl PartialOrd<CipherMode> for CipherMode
source§fn partial_cmp(&self, other: &CipherMode) -> Option<Ordering>
fn partial_cmp(&self, other: &CipherMode) -> Option<Ordering>
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 moresource§impl TryFrom<u8> for CipherMode
impl TryFrom<u8> for CipherMode
impl Copy for CipherMode
impl Eq for CipherMode
impl StructuralEq for CipherMode
impl StructuralPartialEq for CipherMode
Auto Trait Implementations§
impl RefUnwindSafe for CipherMode
impl Send for CipherMode
impl Sync for CipherMode
impl Unpin for CipherMode
impl UnwindSafe for CipherMode
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