pub struct Invalidation {
pub ranges: usize,
pub bytes: usize,
}Expand description
The effect of invalidating cache state.
Fields§
§ranges: usizeNumber of ranges removed.
bytes: usizeNumber of payload bytes removed.
Trait Implementations§
Source§impl Clone for Invalidation
impl Clone for Invalidation
Source§fn clone(&self) -> Invalidation
fn clone(&self) -> Invalidation
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 Invalidation
Source§impl Debug for Invalidation
impl Debug for Invalidation
Source§impl Default for Invalidation
impl Default for Invalidation
Source§fn default() -> Invalidation
fn default() -> Invalidation
Returns the “default value” for a type. Read more
impl Eq for Invalidation
Source§impl PartialEq for Invalidation
impl PartialEq for Invalidation
impl StructuralPartialEq for Invalidation
Auto Trait Implementations§
impl Freeze for Invalidation
impl RefUnwindSafe for Invalidation
impl Send for Invalidation
impl Sync for Invalidation
impl Unpin for Invalidation
impl UnsafeUnpin for Invalidation
impl UnwindSafe for Invalidation
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