pub struct EnqueuedLaunch { /* private fields */ }Expand description
Enqueued operation that must be completed or cancelled exactly once.
Implementations§
Source§impl EnqueuedLaunch
impl EnqueuedLaunch
Sourcepub fn commit(self) -> ResourceResult<()>
pub fn commit(self) -> ResourceResult<()>
Publish the recorded uses after the operation was enqueued.
Sourcepub fn abort(self) -> ResourceResult<()>
pub fn abort(self) -> ResourceResult<()>
Synchronize possible work and cancel the prepared reservations.
Auto Trait Implementations§
impl !RefUnwindSafe for EnqueuedLaunch
impl !UnwindSafe for EnqueuedLaunch
impl Freeze for EnqueuedLaunch
impl Send for EnqueuedLaunch
impl Sync for EnqueuedLaunch
impl Unpin for EnqueuedLaunch
impl UnsafeUnpin for EnqueuedLaunch
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