pub struct Status {
pub name: String,
pub keys: u64,
pub size: u64,
pub total_disk_size: u64,
pub live_disk_size: u64,
pub garbage_disk_size: u64,
}Expand description
Engine status.
Fields§
§name: StringThe name of the storage engine.
keys: u64The number of live keys in the engine.
size: u64The logical size of live key/value pairs.
total_disk_size: u64The on-disk size of all data, live and garbage.
live_disk_size: u64The on-disk size of live data.
garbage_disk_size: u64The on-disk size of garbage data.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Status
impl PartialEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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