pub enum ChainReset {
ChainOnly,
Run,
All,
}Expand description
Explicit reset policy. Every mode retains window, actions per tier and cap. See the module example for resetting alongside a host’s session lifecycle.
Variants§
ChainOnly
Clear chain and remaining time; retain total and best (legacy break).
Run
Clear chain, remaining time and total; retain best.
All
Clear chain, remaining time, total and best.
Trait Implementations§
Source§impl Clone for ChainReset
impl Clone for ChainReset
Source§fn clone(&self) -> ChainReset
fn clone(&self) -> ChainReset
Returns a duplicate of the value. Read more
1.0.0 · 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 ChainReset
impl Debug for ChainReset
Source§impl PartialEq for ChainReset
impl PartialEq for ChainReset
impl Copy for ChainReset
impl Eq for ChainReset
impl StructuralPartialEq for ChainReset
Auto Trait Implementations§
impl Freeze for ChainReset
impl RefUnwindSafe for ChainReset
impl Send for ChainReset
impl Sync for ChainReset
impl Unpin for ChainReset
impl UnwindSafe for ChainReset
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