#[repr(u8)]pub enum CipherEncrypt {
DECRYPT = 0,
ENCRYPT = 1,
}Variants§
Implementations§
Source§impl CipherEncrypt
impl CipherEncrypt
Trait Implementations§
Source§impl Clone for CipherEncrypt
impl Clone for CipherEncrypt
Source§fn clone(&self) -> CipherEncrypt
fn clone(&self) -> CipherEncrypt
Returns a duplicate 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 CipherEncrypt
impl Debug for CipherEncrypt
Source§impl From<CipherEncrypt> for u8
impl From<CipherEncrypt> for u8
Source§fn from(val: CipherEncrypt) -> u8
fn from(val: CipherEncrypt) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CipherEncrypt
impl From<u8> for CipherEncrypt
Source§fn from(val: u8) -> CipherEncrypt
fn from(val: u8) -> CipherEncrypt
Converts to this type from the input type.
Source§impl Ord for CipherEncrypt
impl Ord for CipherEncrypt
Source§fn cmp(&self, other: &CipherEncrypt) -> Ordering
fn cmp(&self, other: &CipherEncrypt) -> 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 CipherEncrypt
impl PartialEq for CipherEncrypt
Source§impl PartialOrd for CipherEncrypt
impl PartialOrd for CipherEncrypt
impl Copy for CipherEncrypt
impl Eq for CipherEncrypt
impl StructuralPartialEq for CipherEncrypt
Auto Trait Implementations§
impl Freeze for CipherEncrypt
impl RefUnwindSafe for CipherEncrypt
impl Send for CipherEncrypt
impl Sync for CipherEncrypt
impl Unpin for CipherEncrypt
impl UnwindSafe for CipherEncrypt
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