pub struct SynchronizedSequencePermit<'resources, 'exec, R>where
R: DeviceRuntime,{ /* private fields */ }Expand description
Stream-drained typestate. It has no dispatch API and must choose exactly one terminal slot disposition.
Implementations§
Source§impl<R> SynchronizedSequencePermit<'_, '_, R>where
R: DeviceRuntime,
impl<R> SynchronizedSequencePermit<'_, '_, R>where
R: DeviceRuntime,
pub fn complete(self) -> Result<ActiveSequenceCompletionReceipt, VNextError>
Sourcepub fn abort(self) -> Result<ActiveSequenceAbortReceipt, VNextError>
pub fn abort(self) -> Result<ActiveSequenceAbortReceipt, VNextError>
Produces abort evidence only after the exact bound stream was drained. Only this exact logical sequence remains poisoned after abort.
Auto Trait Implementations§
impl<'resources, 'exec, R> !RefUnwindSafe for SynchronizedSequencePermit<'resources, 'exec, R>
impl<'resources, 'exec, R> !UnwindSafe for SynchronizedSequencePermit<'resources, 'exec, R>
impl<'resources, 'exec, R> Freeze for SynchronizedSequencePermit<'resources, 'exec, R>
impl<'resources, 'exec, R> Send for SynchronizedSequencePermit<'resources, 'exec, R>
impl<'resources, 'exec, R> Sync for SynchronizedSequencePermit<'resources, 'exec, R>
impl<'resources, 'exec, R> Unpin for SynchronizedSequencePermit<'resources, 'exec, R>
impl<'resources, 'exec, R> UnsafeUnpin for SynchronizedSequencePermit<'resources, 'exec, 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