pub struct RegistryStats {
pub entry_count: usize,
pub total_bytes: usize,
pub dirty: bool,
pub backend: String,
}Expand description
Statistics about the state registry.
Fields§
§entry_count: usizeNumber of entries in cache.
total_bytes: usizeTotal bytes of state data.
dirty: boolWhether there are unsaved changes.
backend: StringBackend name.
Trait Implementations§
Source§impl Clone for RegistryStats
impl Clone for RegistryStats
Source§fn clone(&self) -> RegistryStats
fn clone(&self) -> RegistryStats
Returns a duplicate 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 RegistryStats
impl Debug for RegistryStats
Source§impl Default for RegistryStats
impl Default for RegistryStats
Source§fn default() -> RegistryStats
fn default() -> RegistryStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegistryStats
impl RefUnwindSafe for RegistryStats
impl Send for RegistryStats
impl Sync for RegistryStats
impl Unpin for RegistryStats
impl UnsafeUnpin for RegistryStats
impl UnwindSafe for RegistryStats
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