pub struct MarkerObservation {
pub stale_boxes: Vec<u64>,
pub current_context_tokens: u64,
pub context_limit_tokens: u64,
pub expectation: CacheExpectation,
}Expand description
Current inputs to sparse marker policy.
Fields§
§stale_boxes: Vec<u64>§current_context_tokens: u64§context_limit_tokens: u64§expectation: CacheExpectationTrait Implementations§
Source§impl Clone for MarkerObservation
impl Clone for MarkerObservation
Source§fn clone(&self) -> MarkerObservation
fn clone(&self) -> MarkerObservation
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 MarkerObservation
impl Debug for MarkerObservation
impl Eq for MarkerObservation
Source§impl PartialEq for MarkerObservation
impl PartialEq for MarkerObservation
impl StructuralPartialEq for MarkerObservation
Auto Trait Implementations§
impl Freeze for MarkerObservation
impl RefUnwindSafe for MarkerObservation
impl Send for MarkerObservation
impl Sync for MarkerObservation
impl Unpin for MarkerObservation
impl UnsafeUnpin for MarkerObservation
impl UnwindSafe for MarkerObservation
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