pub struct BufferPoolStats {
pub allocations: usize,
pub hits: usize,
pub releases: usize,
pub evictions: usize,
pub retained_bytes: usize,
}Expand description
Snapshot of BufferPool counters.
Fields§
§allocations: usizedocs
hits: usizedocs
releases: usizedocs
evictions: usizedocs
retained_bytes: usizedocs
Trait Implementations§
Source§impl Clone for BufferPoolStats
impl Clone for BufferPoolStats
Source§fn clone(&self) -> BufferPoolStats
fn clone(&self) -> BufferPoolStats
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 BufferPoolStats
Source§impl Debug for BufferPoolStats
impl Debug for BufferPoolStats
Source§impl Default for BufferPoolStats
impl Default for BufferPoolStats
Source§fn default() -> BufferPoolStats
fn default() -> BufferPoolStats
Returns the “default value” for a type. Read more
impl Eq for BufferPoolStats
Source§impl PartialEq for BufferPoolStats
impl PartialEq for BufferPoolStats
Source§fn eq(&self, other: &BufferPoolStats) -> bool
fn eq(&self, other: &BufferPoolStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BufferPoolStats
Auto Trait Implementations§
impl Freeze for BufferPoolStats
impl RefUnwindSafe for BufferPoolStats
impl Send for BufferPoolStats
impl Sync for BufferPoolStats
impl Unpin for BufferPoolStats
impl UnsafeUnpin for BufferPoolStats
impl UnwindSafe for BufferPoolStats
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
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.