Enum AesOutMidTunToHash
#[repr(u8)]pub enum AesOutMidTunToHash {
SecondStage = 0,
FirstStage = 1,
}Variants§
SecondStage = 0
The AES engine writes to the HASH the result of the second tunnel stage.
FirstStage = 1
The AES engine writes to the HASH the result of the first tunnel stage.
Implementations§
§impl AesOutMidTunToHash
impl AesOutMidTunToHash
pub const fn from_bits(val: u8) -> AesOutMidTunToHash
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for AesOutMidTunToHash
impl Clone for AesOutMidTunToHash
§fn clone(&self) -> AesOutMidTunToHash
fn clone(&self) -> AesOutMidTunToHash
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AesOutMidTunToHash
§impl Debug for AesOutMidTunToHash
impl Debug for AesOutMidTunToHash
impl Eq for AesOutMidTunToHash
§impl From<u8> for AesOutMidTunToHash
impl From<u8> for AesOutMidTunToHash
§fn from(val: u8) -> AesOutMidTunToHash
fn from(val: u8) -> AesOutMidTunToHash
Converts to this type from the input type.
§impl Ord for AesOutMidTunToHash
impl Ord for AesOutMidTunToHash
§fn cmp(&self, other: &AesOutMidTunToHash) -> Ordering
fn cmp(&self, other: &AesOutMidTunToHash) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for AesOutMidTunToHash
impl PartialEq for AesOutMidTunToHash
§impl PartialOrd for AesOutMidTunToHash
impl PartialOrd for AesOutMidTunToHash
impl StructuralPartialEq for AesOutMidTunToHash
Auto Trait Implementations§
impl Freeze for AesOutMidTunToHash
impl RefUnwindSafe for AesOutMidTunToHash
impl Send for AesOutMidTunToHash
impl Sync for AesOutMidTunToHash
impl Unpin for AesOutMidTunToHash
impl UnsafeUnpin for AesOutMidTunToHash
impl UnwindSafe for AesOutMidTunToHash
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