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§impl Debug for RegistryStats
impl Debug for RegistryStats
Auto Trait Implementations§
impl Forget for RegistryStats
impl Freeze for RegistryStats
impl Move 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