pub struct GlobalCapReport {
pub evicted: Vec<String>,
pub bytes_before: u64,
pub bytes_after: u64,
}Expand description
Report returned by enforce_global_cap.
Fields§
§evicted: Vec<String>Doc ids evicted, in eviction order (oldest first).
bytes_before: u64Total stored object bytes across all docs before eviction.
bytes_after: u64Total stored object bytes across all docs after eviction.
Trait Implementations§
Source§impl Clone for GlobalCapReport
impl Clone for GlobalCapReport
Source§fn clone(&self) -> GlobalCapReport
fn clone(&self) -> GlobalCapReport
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 moreSource§impl Debug for GlobalCapReport
impl Debug for GlobalCapReport
Source§impl PartialEq for GlobalCapReport
impl PartialEq for GlobalCapReport
Source§fn eq(&self, other: &GlobalCapReport) -> bool
fn eq(&self, other: &GlobalCapReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalCapReport
Auto Trait Implementations§
impl Freeze for GlobalCapReport
impl RefUnwindSafe for GlobalCapReport
impl Send for GlobalCapReport
impl Sync for GlobalCapReport
impl Unpin for GlobalCapReport
impl UnsafeUnpin for GlobalCapReport
impl UnwindSafe for GlobalCapReport
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