pub struct Pending<O> { /* private fields */ }Expand description
Typed operation token retained until its matching completion is observed.
Implementations§
Source§impl<O> Pending<O>
impl<O> Pending<O>
Sourcepub const fn request_id(&self) -> u64
pub const fn request_id(&self) -> u64
Nonzero wire request identifier.
Sourcepub const fn epoch(&self) -> QueueEpoch
pub const fn epoch(&self) -> QueueEpoch
Queue epoch in which this request was published.
Trait Implementations§
Auto Trait Implementations§
impl<O> Freeze for Pending<O>where
O: Freeze,
impl<O> RefUnwindSafe for Pending<O>where
O: RefUnwindSafe,
impl<O> Send for Pending<O>where
O: Send,
impl<O> Sync for Pending<O>where
O: Sync,
impl<O> Unpin for Pending<O>where
O: Unpin,
impl<O> UnsafeUnpin for Pending<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for Pending<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