pub struct NoStatic<R>where
R: DeviceRuntime,{ /* private fields */ }Expand description
Explicit no-op result for plans that have no plan-lifetime buffers. It binds the validated plan to one exact runtime without manufacturing an empty reservation ledger or a zero-byte device-capacity claim.
Implementations§
Source§impl<R> NoStatic<R>where
R: DeviceRuntime,
impl<R> NoStatic<R>where
R: DeviceRuntime,
pub fn maintenance_controller(&self) -> &DynamicPoolMaintenanceController<R>
pub fn plan_id(&self) -> &PlanId
pub fn plan_hash(&self) -> &PlanHash
pub fn device_id(&self) -> &DeviceId
pub fn device_runtime_implementation_fingerprint(&self) -> &str
pub const fn device_capacity_bytes(&self) -> u64
pub const fn usable_capacity_bytes(&self) -> u64
pub const fn maximum_active_sequences(&self) -> u32
Source§impl<R> NoStatic<R>where
R: DeviceRuntime,
impl<R> NoStatic<R>where
R: DeviceRuntime,
pub fn into_plan_runtime(self) -> Arc<PlanRuntimeResources<R>> ⓘ
Auto Trait Implementations§
impl<R> !RefUnwindSafe for NoStatic<R>
impl<R> !UnwindSafe for NoStatic<R>
impl<R> Freeze for NoStatic<R>
impl<R> Send for NoStatic<R>
impl<R> Sync for NoStatic<R>
impl<R> Unpin for NoStatic<R>
impl<R> UnsafeUnpin for NoStatic<R>where
DynamicPoolMaintenanceController<R>: UnsafeUnpin,
Arc<DynamicPoolSet<R>>: UnsafeUnpin,
Arc<R>: UnsafeUnpin,
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