pub enum RebuildReason {
TailHits(u64),
TailBytes(u64),
Explicit,
}Expand description
Which threshold fired, with the value that fired it. Returned rather than logged, so a caller can record why a rebuild happened.
Variants§
TailHits(u64)
n lookups had to be answered by the tail.
TailBytes(u64)
n bytes of objects were appended since the last rebuild.
Explicit
ObjectReadStack::rebuild was called directly.
Trait Implementations§
Source§impl Clone for RebuildReason
impl Clone for RebuildReason
Source§fn clone(&self) -> RebuildReason
fn clone(&self) -> RebuildReason
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 RebuildReason
Source§impl Debug for RebuildReason
impl Debug for RebuildReason
impl Eq for RebuildReason
Source§impl PartialEq for RebuildReason
impl PartialEq for RebuildReason
impl StructuralPartialEq for RebuildReason
Auto Trait Implementations§
impl Freeze for RebuildReason
impl RefUnwindSafe for RebuildReason
impl Send for RebuildReason
impl Sync for RebuildReason
impl Unpin for RebuildReason
impl UnsafeUnpin for RebuildReason
impl UnwindSafe for RebuildReason
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.