pub struct MarkerState {
pub reported_stale_boxes: BTreeSet<u64>,
pub last_context_size_tokens: Option<u64>,
}Expand description
Marker state reconstructed for the current cache epoch.
Fields§
§reported_stale_boxes: BTreeSet<u64>§last_context_size_tokens: Option<u64>Trait Implementations§
Source§impl Clone for MarkerState
impl Clone for MarkerState
Source§fn clone(&self) -> MarkerState
fn clone(&self) -> MarkerState
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 MarkerState
impl Debug for MarkerState
Source§impl Default for MarkerState
impl Default for MarkerState
Source§fn default() -> MarkerState
fn default() -> MarkerState
Returns the “default value” for a type. Read more
impl Eq for MarkerState
Source§impl PartialEq for MarkerState
impl PartialEq for MarkerState
impl StructuralPartialEq for MarkerState
Auto Trait Implementations§
impl Freeze for MarkerState
impl RefUnwindSafe for MarkerState
impl Send for MarkerState
impl Sync for MarkerState
impl Unpin for MarkerState
impl UnsafeUnpin for MarkerState
impl UnwindSafe for MarkerState
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