pub struct DecayPolicy {
pub node_after_ms: u64,
}Fields§
§node_after_ms: u64Age >= node_after_ms => Cold/Node
Implementations§
Trait Implementations§
Source§impl Clone for DecayPolicy
impl Clone for DecayPolicy
Source§fn clone(&self) -> DecayPolicy
fn clone(&self) -> DecayPolicy
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 DecayPolicy
impl Debug for DecayPolicy
Source§impl PartialEq for DecayPolicy
impl PartialEq for DecayPolicy
impl Copy for DecayPolicy
impl Eq for DecayPolicy
impl StructuralPartialEq for DecayPolicy
Auto Trait Implementations§
impl Freeze for DecayPolicy
impl RefUnwindSafe for DecayPolicy
impl Send for DecayPolicy
impl Sync for DecayPolicy
impl Unpin for DecayPolicy
impl UnsafeUnpin for DecayPolicy
impl UnwindSafe for DecayPolicy
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