Enum libpna::CipherMode
source · #[repr(u8)]pub enum CipherMode {
CBC = 0,
CTR = 1,
}Expand description
Cipher mode of encryption algorithm.
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 for CipherMode
impl PartialEq for CipherMode
source§impl PartialOrd for CipherMode
impl PartialOrd for CipherMode
source§impl TryFrom<u8> for CipherMode
impl TryFrom<u8> for CipherMode
impl Copy for CipherMode
impl Eq for CipherMode
impl StructuralPartialEq for CipherMode
Auto Trait Implementations§
impl Freeze for CipherMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)