pub struct StaleEntityCountThreshold(/* private fields */);Expand description
A validated positive stale-entity count threshold.
V1 compares this threshold directly with the authoritative count of stale entities. Duration-based staleness is reserved for a future amendment.
Implementations§
Trait Implementations§
Source§impl Clone for StaleEntityCountThreshold
impl Clone for StaleEntityCountThreshold
impl Copy for StaleEntityCountThreshold
Source§impl Debug for StaleEntityCountThreshold
impl Debug for StaleEntityCountThreshold
Source§impl Display for StaleEntityCountThreshold
impl Display for StaleEntityCountThreshold
impl Eq for StaleEntityCountThreshold
Source§impl Hash for StaleEntityCountThreshold
impl Hash for StaleEntityCountThreshold
Source§impl Ord for StaleEntityCountThreshold
impl Ord for StaleEntityCountThreshold
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for StaleEntityCountThreshold
impl PartialOrd for StaleEntityCountThreshold
impl StructuralPartialEq for StaleEntityCountThreshold
Auto Trait Implementations§
impl Freeze for StaleEntityCountThreshold
impl RefUnwindSafe for StaleEntityCountThreshold
impl Send for StaleEntityCountThreshold
impl Sync for StaleEntityCountThreshold
impl Unpin for StaleEntityCountThreshold
impl UnsafeUnpin for StaleEntityCountThreshold
impl UnwindSafe for StaleEntityCountThreshold
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