pub struct PlanCapacityWaitRegistration<R>where
R: DeviceRuntime,{ /* private fields */ }Expand description
A capacity wait registration that keeps its exact plan runtime alive until the waiter either observes a retry epoch or is cancelled by being dropped.
Implementations§
Source§impl<R> PlanCapacityWaitRegistration<R>where
R: DeviceRuntime,
impl<R> PlanCapacityWaitRegistration<R>where
R: DeviceRuntime,
pub fn recheck(&self) -> Result<CapacityWaitRecheck, VNextError>
pub async fn wait_for_change(self) -> Result<CapacityEpochs, VNextError>
Auto Trait Implementations§
impl<R> !RefUnwindSafe for PlanCapacityWaitRegistration<R>
impl<R> !UnwindSafe for PlanCapacityWaitRegistration<R>
impl<R> Freeze for PlanCapacityWaitRegistration<R>
impl<R> Send for PlanCapacityWaitRegistration<R>
impl<R> Sync for PlanCapacityWaitRegistration<R>
impl<R> Unpin for PlanCapacityWaitRegistration<R>
impl<R> UnsafeUnpin for PlanCapacityWaitRegistration<R>
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