pub struct MarkerDecision {
pub reset_epoch: bool,
pub stale: Option<StaleMarker>,
pub context_size_tokens: Option<u64>,
pub next_state: MarkerState,
}Expand description
Complete marker transition selected for one provider preparation.
Fields§
§reset_epoch: bool§stale: Option<StaleMarker>§context_size_tokens: Option<u64>§next_state: MarkerStateTrait Implementations§
Source§impl Clone for MarkerDecision
impl Clone for MarkerDecision
Source§fn clone(&self) -> MarkerDecision
fn clone(&self) -> MarkerDecision
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 MarkerDecision
impl Debug for MarkerDecision
impl Eq for MarkerDecision
Source§impl PartialEq for MarkerDecision
impl PartialEq for MarkerDecision
impl StructuralPartialEq for MarkerDecision
Auto Trait Implementations§
impl Freeze for MarkerDecision
impl RefUnwindSafe for MarkerDecision
impl Send for MarkerDecision
impl Sync for MarkerDecision
impl Unpin for MarkerDecision
impl UnsafeUnpin for MarkerDecision
impl UnwindSafe for MarkerDecision
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