pub struct MemoryAllocationsResponse {Show 21 fields
pub current_generation: u64,
pub manager_layout_version: u8,
pub bucket_size_pages: u16,
pub bucket_size_bytes: u64,
pub bucket_capacity: u32,
pub allocated_buckets: u16,
pub remaining_buckets: u32,
pub maximum_bucket_bytes: u64,
pub physical_extent: MemoryAllocationSizeEntry,
pub virtual_extent: MemoryAllocationSizeEntry,
pub manager_metadata_bytes: u64,
pub manager_header_bytes: u64,
pub manager_bucket_table_bytes: u64,
pub manager_padding_bytes: u64,
pub allocated_bucket_bytes: u64,
pub bucket_slack_bytes: u64,
pub known_binding_bytes: u64,
pub unknown_binding_bytes: u64,
pub unmanaged_bytes: u64,
pub metadata_bytes_read: u64,
pub memories: Vec<MemoryAllocationEntry>,
}Expand description
Measured physical and virtual allocations exposed by protected observations. Covers all usable IDs, including unknown bindings and the substrate ledger.
Fields§
§current_generation: u64§manager_layout_version: u8§bucket_size_pages: u16Actual persisted size, never a requested/default assumption.
bucket_size_bytes: u64§bucket_capacity: u32§allocated_buckets: u16§remaining_buckets: u32§maximum_bucket_bytes: u64§physical_extent: MemoryAllocationSizeEntryBacking extent: IC stable memory in canisters, vector memory on native hosts.
virtual_extent: MemoryAllocationSizeEntryAddressable capacity, not stored payload occupancy.
manager_metadata_bytes: u64§manager_header_bytes: u64§manager_bucket_table_bytes: u64§manager_padding_bytes: u64§allocated_bucket_bytes: u64§bucket_slack_bytes: u64§known_binding_bytes: u64§unknown_binding_bytes: u64§unmanaged_bytes: u64Physical bytes outside the assigned manager region.
metadata_bytes_read: u64§memories: Vec<MemoryAllocationEntry>Trait Implementations§
Source§impl Clone for MemoryAllocationsResponse
impl Clone for MemoryAllocationsResponse
Source§fn clone(&self) -> MemoryAllocationsResponse
fn clone(&self) -> MemoryAllocationsResponse
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 MemoryAllocationsResponse
impl Debug for MemoryAllocationsResponse
Source§impl<'de> Deserialize<'de> for MemoryAllocationsResponse
impl<'de> Deserialize<'de> for MemoryAllocationsResponse
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 MemoryAllocationsResponse
impl StructuralPartialEq for MemoryAllocationsResponse
Auto Trait Implementations§
impl Freeze for MemoryAllocationsResponse
impl RefUnwindSafe for MemoryAllocationsResponse
impl Send for MemoryAllocationsResponse
impl Sync for MemoryAllocationsResponse
impl Unpin for MemoryAllocationsResponse
impl UnsafeUnpin for MemoryAllocationsResponse
impl UnwindSafe for MemoryAllocationsResponse
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