Struct fred::types::DatabaseMemoryStats
source · pub struct DatabaseMemoryStats {
pub overhead_hashtable_main: u64,
pub overhead_hashtable_expires: u64,
pub overhead_hashtable_slot_to_keys: u64,
}Available on crate feature
i-memory only.Expand description
The parsed result of the MEMORY STATS command for a specific database.
Fields§
§overhead_hashtable_main: u64§overhead_hashtable_expires: u64§overhead_hashtable_slot_to_keys: u64Trait Implementations§
source§impl Clone for DatabaseMemoryStats
impl Clone for DatabaseMemoryStats
source§fn clone(&self) -> DatabaseMemoryStats
fn clone(&self) -> DatabaseMemoryStats
Returns a copy of the value. Read more
1.0.0 · 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 DatabaseMemoryStats
impl Debug for DatabaseMemoryStats
source§impl Default for DatabaseMemoryStats
impl Default for DatabaseMemoryStats
source§impl FromRedis for DatabaseMemoryStats
impl FromRedis for DatabaseMemoryStats
fn from_value(value: RedisValue) -> Result<Self, RedisError>
source§impl PartialEq for DatabaseMemoryStats
impl PartialEq for DatabaseMemoryStats
source§impl TryFrom<RedisValue> for DatabaseMemoryStats
impl TryFrom<RedisValue> for DatabaseMemoryStats
source§type Error = RedisError
type Error = RedisError
The type returned in the event of a conversion error.
impl Eq for DatabaseMemoryStats
impl StructuralPartialEq for DatabaseMemoryStats
Auto Trait Implementations§
impl Freeze for DatabaseMemoryStats
impl RefUnwindSafe for DatabaseMemoryStats
impl Send for DatabaseMemoryStats
impl Sync for DatabaseMemoryStats
impl Unpin for DatabaseMemoryStats
impl UnwindSafe for DatabaseMemoryStats
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more