pub struct MemoryPlan { /* private fields */ }Implementations§
Source§impl MemoryPlan
impl MemoryPlan
pub const fn device_capacity_bytes(&self) -> u64
pub const fn policy_capacity_bytes(&self) -> u64
pub const fn reserve_bytes(&self) -> u64
pub const fn usable_capacity_bytes(&self) -> u64
pub const fn maximum_active_sequences(&self) -> u32
pub const fn capacity_bytes(&self) -> u64
pub const fn static_bytes(&self) -> u64
pub const fn minimum_request_bytes(&self) -> u64
pub const fn minimum_sequence_bytes(&self) -> u64
pub const fn minimum_step_bytes(&self) -> u64
pub const fn minimum_invocation_peak_bytes(&self) -> u64
pub const fn minimum_runnable_request_bytes(&self) -> u64
pub const fn invocation_liveness_mode(&self) -> InvocationLivenessMode
pub fn invocation_liveness(&self) -> &[InvocationResourceLiveness]
Sourcepub fn theoretical_ceiling_bytes(&self) -> u128
pub fn theoretical_ceiling_bytes(&self) -> u128
Conservative checked evidence across static allocations, live provider formula maxima, reusable execution workspace, and the protocol ceiling. It is never itself a reservation, admission target, or performance claim.
pub fn static_allocations(&self) -> &[ResourceAllocation]
pub fn dynamic_descriptors(&self) -> &[DynamicResourceDescriptor]
pub fn dynamic_pools(&self) -> &[DynamicBackingPoolSpec]
pub fn reusable_execution(&self) -> Option<&ReusableExecutionMemoryPlan>
pub fn static_buffer_requests(&self) -> Result<Vec<BufferRequest>, VNextError>
Trait Implementations§
Source§impl Clone for MemoryPlan
impl Clone for MemoryPlan
Source§fn clone(&self) -> MemoryPlan
fn clone(&self) -> MemoryPlan
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 MemoryPlan
impl Debug for MemoryPlan
Source§impl<'de> Deserialize<'de> for MemoryPlan
impl<'de> Deserialize<'de> for MemoryPlan
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 MemoryPlan
Source§impl PartialEq for MemoryPlan
impl PartialEq for MemoryPlan
Source§impl Serialize for MemoryPlan
impl Serialize for MemoryPlan
impl StructuralPartialEq for MemoryPlan
Auto Trait Implementations§
impl Freeze for MemoryPlan
impl RefUnwindSafe for MemoryPlan
impl Send for MemoryPlan
impl Sync for MemoryPlan
impl Unpin for MemoryPlan
impl UnsafeUnpin for MemoryPlan
impl UnwindSafe for MemoryPlan
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