pub struct SequenceSynchronizationFailure<'resources, 'exec, R>where
R: DeviceRuntime,{ /* private fields */ }Expand description
Retry owner for a failed stream drain. It intentionally does not expose the active dispatch permit, so no operation can be submitted between a failed synchronization attempt and its retry.
Implementations§
Source§impl<'resources, 'exec, R> SequenceSynchronizationFailure<'resources, 'exec, R>where
R: DeviceRuntime,
impl<'resources, 'exec, R> SequenceSynchronizationFailure<'resources, 'exec, R>where
R: DeviceRuntime,
pub fn error(&self) -> &SequenceSynchronizationError<R::Error>
pub fn retry( self, ) -> Result<SynchronizedSequencePermit<'resources, 'exec, R>, SequenceSynchronizationFailure<'resources, 'exec, R>>
Trait Implementations§
Auto Trait Implementations§
impl<'resources, 'exec, R> !RefUnwindSafe for SequenceSynchronizationFailure<'resources, 'exec, R>
impl<'resources, 'exec, R> !UnwindSafe for SequenceSynchronizationFailure<'resources, 'exec, R>
impl<'resources, 'exec, R> Freeze for SequenceSynchronizationFailure<'resources, 'exec, R>where
Option<ActiveSequencePermit<'resources, 'exec, R>>: Freeze,
SequenceSynchronizationError<<R as DeviceRuntime>::Error>: Freeze,
impl<'resources, 'exec, R> Send for SequenceSynchronizationFailure<'resources, 'exec, R>where
Option<ActiveSequencePermit<'resources, 'exec, R>>: Send,
SequenceSynchronizationError<<R as DeviceRuntime>::Error>: Send,
impl<'resources, 'exec, R> Sync for SequenceSynchronizationFailure<'resources, 'exec, R>where
Option<ActiveSequencePermit<'resources, 'exec, R>>: Sync,
SequenceSynchronizationError<<R as DeviceRuntime>::Error>: Sync,
impl<'resources, 'exec, R> Unpin for SequenceSynchronizationFailure<'resources, 'exec, R>where
Option<ActiveSequencePermit<'resources, 'exec, R>>: Unpin,
SequenceSynchronizationError<<R as DeviceRuntime>::Error>: Unpin,
impl<'resources, 'exec, R> UnsafeUnpin for SequenceSynchronizationFailure<'resources, 'exec, R>where
Option<ActiveSequencePermit<'resources, 'exec, R>>: UnsafeUnpin,
SequenceSynchronizationError<<R as DeviceRuntime>::Error>: 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