pub struct HeldOperation<V, B, C>where
V: Identities,{
pub id: <V as Identities>::OpId,
pub kind: OpKind<V>,
pub gate: Epoch<V>,
pub buffer: Option<B>,
pub context: C,
}Expand description
An operation held for its gate and never issued, handed back by close() (DI-2.7).
Fields§
§id: <V as Identities>::OpIdThe operation’s identity.
kind: OpKind<V>What it was.
gate: Epoch<V>The epoch it was waiting on.
buffer: Option<B>None for an operation on a registered span.
context: CThe consumer’s context.
Trait Implementations§
Auto Trait Implementations§
impl<V, B, C> Freeze for HeldOperation<V, B, C>
impl<V, B, C> RefUnwindSafe for HeldOperation<V, B, C>where
<V as Identities>::OpId: RefUnwindSafe,
OpKind<V>: RefUnwindSafe,
Epoch<V>: RefUnwindSafe,
Option<B>: RefUnwindSafe,
C: RefUnwindSafe,
impl<V, B, C> Send for HeldOperation<V, B, C>
impl<V, B, C> Sync for HeldOperation<V, B, C>
impl<V, B, C> Unpin for HeldOperation<V, B, C>
impl<V, B, C> UnsafeUnpin for HeldOperation<V, B, C>where
<V as Identities>::OpId: UnsafeUnpin,
OpKind<V>: UnsafeUnpin,
Epoch<V>: UnsafeUnpin,
Option<B>: UnsafeUnpin,
C: UnsafeUnpin,
impl<V, B, C> UnwindSafe for HeldOperation<V, B, C>where
<V as Identities>::OpId: UnwindSafe,
OpKind<V>: UnwindSafe,
Epoch<V>: UnwindSafe,
Option<B>: UnwindSafe,
C: 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