pub struct MemoryAllocationEntry {
pub memory_manager_id: u8,
pub binding: MemoryAllocationBinding,
pub range_claim: Option<MemoryAllocationRangeClaim>,
pub virtual_extent: MemoryAllocationSizeEntry,
pub allocated_buckets: u16,
pub allocated_bytes: u64,
pub bucket_slack_bytes: u64,
pub payload_bytes: Option<u64>,
}Expand description
One manager ID’s measured capacity and independently sourced ownership metadata.
Fields§
§memory_manager_id: u8§binding: MemoryAllocationBinding§range_claim: Option<MemoryAllocationRangeClaim>§virtual_extent: MemoryAllocationSizeEntry§allocated_buckets: u16§allocated_bytes: u64§bucket_slack_bytes: u64§payload_bytes: Option<u64>Unavailable: allocation metadata does not measure payload occupancy.
Trait Implementations§
Source§impl CandidType for MemoryAllocationEntry
impl CandidType for MemoryAllocationEntry
Source§impl Clone for MemoryAllocationEntry
impl Clone for MemoryAllocationEntry
Source§fn clone(&self) -> MemoryAllocationEntry
fn clone(&self) -> MemoryAllocationEntry
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 MemoryAllocationEntry
impl Debug for MemoryAllocationEntry
Source§impl<'de> Deserialize<'de> for MemoryAllocationEntry
impl<'de> Deserialize<'de> for MemoryAllocationEntry
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 MemoryAllocationEntry
Source§impl PartialEq for MemoryAllocationEntry
impl PartialEq for MemoryAllocationEntry
impl StructuralPartialEq for MemoryAllocationEntry
Auto Trait Implementations§
impl Freeze for MemoryAllocationEntry
impl RefUnwindSafe for MemoryAllocationEntry
impl Send for MemoryAllocationEntry
impl Sync for MemoryAllocationEntry
impl Unpin for MemoryAllocationEntry
impl UnsafeUnpin for MemoryAllocationEntry
impl UnwindSafe for MemoryAllocationEntry
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