pub enum EpisodicCompactionTrigger {
ContextPressure,
UnfinishedTurns,
AgeAndTurns,
ManualRecovery,
}Expand description
Durable reason an episodic boundary was written.
Stores can persist Self::as_str for diagnostics without learning any
policy details. ManualRecovery is never selected automatically; it is
reserved for an operator-owned clean-slate boundary.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EpisodicCompactionTrigger
impl Clone for EpisodicCompactionTrigger
Source§fn clone(&self) -> EpisodicCompactionTrigger
fn clone(&self) -> EpisodicCompactionTrigger
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 moreimpl Copy for EpisodicCompactionTrigger
Source§impl Debug for EpisodicCompactionTrigger
impl Debug for EpisodicCompactionTrigger
impl Eq for EpisodicCompactionTrigger
impl StructuralPartialEq for EpisodicCompactionTrigger
Auto Trait Implementations§
impl Freeze for EpisodicCompactionTrigger
impl RefUnwindSafe for EpisodicCompactionTrigger
impl Send for EpisodicCompactionTrigger
impl Sync for EpisodicCompactionTrigger
impl Unpin for EpisodicCompactionTrigger
impl UnsafeUnpin for EpisodicCompactionTrigger
impl UnwindSafe for EpisodicCompactionTrigger
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