pub struct ContentFrame { /* private fields */ }Expand description
One sample-by-reference frame stored under bounded host policy.
Implementations§
Source§impl ContentFrame
impl ContentFrame
Sourcepub fn new(
key: StoreKey,
session: Symbol,
receipt_seq: u64,
inserted_tick: u64,
size_bytes: usize,
value: Expr,
) -> Self
pub fn new( key: StoreKey, session: Symbol, receipt_seq: u64, inserted_tick: u64, size_bytes: usize, value: Expr, ) -> Self
Builds a stored content frame.
Sourcepub fn receipt_seq(&self) -> u64
pub fn receipt_seq(&self) -> u64
Returns the governing consent receipt sequence.
Sourcepub fn inserted_tick(&self) -> u64
pub fn inserted_tick(&self) -> u64
Returns the modeled insertion tick.
Sourcepub fn size_bytes(&self) -> usize
pub fn size_bytes(&self) -> usize
Returns the frame size counted against the store bound.
Trait Implementations§
Source§impl Clone for ContentFrame
impl Clone for ContentFrame
Source§fn clone(&self) -> ContentFrame
fn clone(&self) -> ContentFrame
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 Debug for ContentFrame
impl Debug for ContentFrame
Source§impl PartialEq for ContentFrame
impl PartialEq for ContentFrame
impl StructuralPartialEq for ContentFrame
Auto Trait Implementations§
impl Freeze for ContentFrame
impl RefUnwindSafe for ContentFrame
impl Send for ContentFrame
impl Sync for ContentFrame
impl Unpin for ContentFrame
impl UnsafeUnpin for ContentFrame
impl UnwindSafe for ContentFrame
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