pub struct AvailableMemory {
pub physical_memory_bytes: Observed<u64>,
pub available_memory_bytes: Observed<u64>,
pub physical_semantics: PhysicalMemorySemantics,
}Expand description
System memory usable as an admission signal.
Fields§
§physical_memory_bytes: Observed<u64>Unified/host physical memory.
available_memory_bytes: Observed<u64>Defensible point-in-time availability estimate.
physical_semantics: PhysicalMemorySemanticsPhysical tier semantics.
Trait Implementations§
Source§impl Clone for AvailableMemory
impl Clone for AvailableMemory
Source§fn clone(&self) -> AvailableMemory
fn clone(&self) -> AvailableMemory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AvailableMemory
impl Debug for AvailableMemory
Source§impl<'de> Deserialize<'de> for AvailableMemory
impl<'de> Deserialize<'de> for AvailableMemory
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
impl Eq for AvailableMemory
Source§impl PartialEq for AvailableMemory
impl PartialEq for AvailableMemory
Source§impl Serialize for AvailableMemory
impl Serialize for AvailableMemory
impl StructuralPartialEq for AvailableMemory
Auto Trait Implementations§
impl Freeze for AvailableMemory
impl RefUnwindSafe for AvailableMemory
impl Send for AvailableMemory
impl Sync for AvailableMemory
impl Unpin for AvailableMemory
impl UnsafeUnpin for AvailableMemory
impl UnwindSafe for AvailableMemory
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