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