pub struct Locked {
pub used: u64,
pub free: u64,
pub total: u64,
pub locked: u64,
pub chunks_used: u64,
pub chunks_free: u64,
}Expand description
Information about locked memory manager. Part of getmemoryinfo.
Fields§
§used: u64Number of bytes used.
free: u64Number of bytes available in current arenas.
total: u64Total number of bytes managed.
locked: u64Amount of bytes that succeeded locking.
If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk.
chunks_used: u64Number allocated chunks.
chunks_free: u64Number unused chunks.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Locked
impl<'de> Deserialize<'de> for Locked
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Locked, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Locked, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Locked
impl Serialize for Locked
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Locked
Auto Trait Implementations§
impl Freeze for Locked
impl RefUnwindSafe for Locked
impl Send for Locked
impl Sync for Locked
impl Unpin for Locked
impl UnsafeUnpin for Locked
impl UnwindSafe for Locked
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