pub enum InnerHeaderId {
EndOfHeader,
InnerRandomStreamCipherId,
InnerRandomStreamKey,
Binary,
Unknown(u8),
}Expand description
Field types for encrypted inner header
Variants§
EndOfHeader
Last field in the header
InnerRandomStreamCipherId
Cipher identifier for data encrypted in memory
InnerRandomStreamKey
Cipher key for data encrypted in memory
Binary
Binary data in the header
Unknown(u8)
Header unknown to this library
Trait Implementations§
Source§impl Clone for InnerHeaderId
impl Clone for InnerHeaderId
Source§fn clone(&self) -> InnerHeaderId
fn clone(&self) -> InnerHeaderId
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 InnerHeaderId
impl Debug for InnerHeaderId
Source§impl From<InnerHeaderId> for u8
impl From<InnerHeaderId> for u8
Source§fn from(id: InnerHeaderId) -> u8
fn from(id: InnerHeaderId) -> u8
Converts to this type from the input type.
Source§impl From<u8> for InnerHeaderId
impl From<u8> for InnerHeaderId
Source§fn from(id: u8) -> InnerHeaderId
fn from(id: u8) -> InnerHeaderId
Converts to this type from the input type.
Source§impl Hash for InnerHeaderId
impl Hash for InnerHeaderId
Source§impl Ord for InnerHeaderId
impl Ord for InnerHeaderId
Source§fn cmp(&self, other: &InnerHeaderId) -> Ordering
fn cmp(&self, other: &InnerHeaderId) -> 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 InnerHeaderId
impl PartialEq for InnerHeaderId
Source§impl PartialOrd for InnerHeaderId
impl PartialOrd for InnerHeaderId
impl Copy for InnerHeaderId
impl Eq for InnerHeaderId
impl StructuralPartialEq for InnerHeaderId
Auto Trait Implementations§
impl Freeze for InnerHeaderId
impl RefUnwindSafe for InnerHeaderId
impl Send for InnerHeaderId
impl Sync for InnerHeaderId
impl Unpin for InnerHeaderId
impl UnwindSafe for InnerHeaderId
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