pub struct Capsule {
pub initial_state: u32,
pub payload: Vec<u8>,
pub symbol_count: u64,
pub decoded_length: u64,
}Expand description
Complete decoder-entry capsule for one entropy channel. The persisted physical form (states + renormalization payload + counts) — never a bare scalar “seed”.
Fields§
§initial_state: u32One decoder initial state (scalar single lane). Encoder final state.
payload: Vec<u8>Renormalization payload bytes, in the exact orientation the decoder
consumes them: forward from index 0, the reverse of encoder emission
order. This excludes the 4-byte flush state, which lives in
Capsule::initial_state.
symbol_count: u64Number of symbols encoded (== decoded_length for the byte alphabet).
decoded_length: u64Exact decoded length in bytes.
Trait Implementations§
impl Eq for Capsule
impl StructuralPartialEq for Capsule
Auto Trait Implementations§
impl Freeze for Capsule
impl RefUnwindSafe for Capsule
impl Send for Capsule
impl Sync for Capsule
impl Unpin for Capsule
impl UnsafeUnpin for Capsule
impl UnwindSafe for Capsule
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