pub struct StaleOperation<O> { /* private fields */ }Expand description
Operation metadata recovered only after its queue epoch is stale.
Implementations§
Source§impl<O> StaleOperation<O>
impl<O> StaleOperation<O>
Sourcepub const fn request_id(&self) -> u64
pub const fn request_id(&self) -> u64
Request identifier from the invalidated queue epoch.
Sourcepub const fn epoch(&self) -> QueueEpoch
pub const fn epoch(&self) -> QueueEpoch
Invalidated queue epoch.
Sourcepub fn into_operation(self) -> O
pub fn into_operation(self) -> O
Recover operation metadata for cleanup or inspection.
Typed handles from this operation remain stale and cannot be republished in the new epoch.
Trait Implementations§
Auto Trait Implementations§
impl<O> Freeze for StaleOperation<O>where
O: Freeze,
impl<O> RefUnwindSafe for StaleOperation<O>where
O: RefUnwindSafe,
impl<O> Send for StaleOperation<O>where
O: Send,
impl<O> Sync for StaleOperation<O>where
O: Sync,
impl<O> Unpin for StaleOperation<O>where
O: Unpin,
impl<O> UnsafeUnpin for StaleOperation<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for StaleOperation<O>where
O: UnwindSafe,
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