pub struct S4E6Header<'a> {
pub key_id: u16,
pub chunk_size: u32,
pub chunk_count: u32,
pub salt: &'a [u8; 8],
}Expand description
Parsed view of an S4E6 frame’s fixed header. Public mirror of
the S4E4 parser — useful for admin tools or future inspectors
that want to enumerate object → key_id bindings without
re-implementing the offset math. The salt borrow keeps
allocations to zero (the slice points back into the input
buffer).
Fields§
§key_id: u16§chunk_size: u32§chunk_count: u32§salt: &'a [u8; 8]Trait Implementations§
Source§impl<'a> Clone for S4E6Header<'a>
impl<'a> Clone for S4E6Header<'a>
Source§fn clone(&self) -> S4E6Header<'a>
fn clone(&self) -> S4E6Header<'a>
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 moreSource§impl<'a> Debug for S4E6Header<'a>
impl<'a> Debug for S4E6Header<'a>
impl<'a> Copy for S4E6Header<'a>
Auto Trait Implementations§
impl<'a> Freeze for S4E6Header<'a>
impl<'a> RefUnwindSafe for S4E6Header<'a>
impl<'a> Send for S4E6Header<'a>
impl<'a> Sync for S4E6Header<'a>
impl<'a> Unpin for S4E6Header<'a>
impl<'a> UnsafeUnpin for S4E6Header<'a>
impl<'a> UnwindSafe for S4E6Header<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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