pub struct SolidHeader { /* private fields */ }Expand description
Represents the entry information header that is expressed in the FHED chunk.
Implementations§
Source§impl SolidHeader
impl SolidHeader
Sourcepub const fn compression(&self) -> Compression
pub const fn compression(&self) -> Compression
Compression method of the solid entry.
Sourcepub const fn encryption(&self) -> Encryption
pub const fn encryption(&self) -> Encryption
Encryption method of the solid entry.
Sourcepub const fn cipher_mode(&self) -> CipherMode
pub const fn cipher_mode(&self) -> CipherMode
Cipher mode of the solid entry’s encryption method.
Sourcepub const fn to_bytes(&self) -> [u8; 5]
pub const fn to_bytes(&self) -> [u8; 5]
Convert to ChunkType::SHED body bytes.
Trait Implementations§
Source§impl Clone for SolidHeader
impl Clone for SolidHeader
Source§fn clone(&self) -> SolidHeader
fn clone(&self) -> SolidHeader
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 SolidHeader
impl Debug for SolidHeader
Source§impl Hash for SolidHeader
impl Hash for SolidHeader
Source§impl Ord for SolidHeader
impl Ord for SolidHeader
Source§fn cmp(&self, other: &SolidHeader) -> Ordering
fn cmp(&self, other: &SolidHeader) -> 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 SolidHeader
impl PartialEq for SolidHeader
Source§impl PartialOrd for SolidHeader
impl PartialOrd for SolidHeader
Source§impl TryFrom<&[u8]> for SolidHeader
impl TryFrom<&[u8]> for SolidHeader
impl Eq for SolidHeader
impl StructuralPartialEq for SolidHeader
Auto Trait Implementations§
impl Freeze for SolidHeader
impl RefUnwindSafe for SolidHeader
impl Send for SolidHeader
impl Sync for SolidHeader
impl Unpin for SolidHeader
impl UnwindSafe for SolidHeader
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