pub struct MemoryPoolReport {
pub resource_id: String,
pub requested: MemoryBudget,
pub effective_bytes: u64,
pub reserved_bytes: u64,
pub remaining_bytes: u64,
pub high_water_bytes: u64,
}Expand description
Report for one resolved pool.
Fields§
§resource_id: StringStable resource identifier.
requested: MemoryBudgetRequested budget.
effective_bytes: u64Resolved capacity.
reserved_bytes: u64Currently reserved bytes.
remaining_bytes: u64Remaining bytes.
high_water_bytes: u64Highest concurrent reservation.
Trait Implementations§
Source§impl Clone for MemoryPoolReport
impl Clone for MemoryPoolReport
Source§fn clone(&self) -> MemoryPoolReport
fn clone(&self) -> MemoryPoolReport
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 MemoryPoolReport
impl Debug for MemoryPoolReport
Source§impl<'de> Deserialize<'de> for MemoryPoolReport
impl<'de> Deserialize<'de> for MemoryPoolReport
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 MemoryPoolReport
impl PartialEq for MemoryPoolReport
Source§impl Serialize for MemoryPoolReport
impl Serialize for MemoryPoolReport
impl StructuralPartialEq for MemoryPoolReport
Auto Trait Implementations§
impl Freeze for MemoryPoolReport
impl RefUnwindSafe for MemoryPoolReport
impl Send for MemoryPoolReport
impl Sync for MemoryPoolReport
impl Unpin for MemoryPoolReport
impl UnsafeUnpin for MemoryPoolReport
impl UnwindSafe for MemoryPoolReport
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