pub struct Plan<'a> {
pub presence: Vec<Presence>,
pub t: u64,
pub len: usize,
pub generation: u64,
/* private fields */
}Expand description
A pure encoding decision; feed it to Encoder::commit to write a frame.
Fields§
§presence: Vec<Presence>Presence code for each predictor field, in schema order among those fields.
t: u64Unwrapped tick count derived from now_ns / tick_ns.
len: usizeExact frame length in bytes.
generation: u64Encoder generation; committing invalidates older plans.
Trait Implementations§
impl<'a> StructuralPartialEq for Plan<'a>
Auto Trait Implementations§
impl<'a> Freeze for Plan<'a>
impl<'a> RefUnwindSafe for Plan<'a>
impl<'a> Send for Plan<'a>
impl<'a> Sync for Plan<'a>
impl<'a> Unpin for Plan<'a>
impl<'a> UnsafeUnpin for Plan<'a>
impl<'a> UnwindSafe for Plan<'a>
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