pub enum AtomicOpKind {
Immediate,
Async,
}Expand description
Sync vs. async completion.
Variants§
Immediate
Outputs returned from dispatch_atomic directly.
Async
Outputs arrive via ctx.complete_command(cmd_id, ...).
Trait Implementations§
Source§impl Clone for AtomicOpKind
impl Clone for AtomicOpKind
Source§fn clone(&self) -> AtomicOpKind
fn clone(&self) -> AtomicOpKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AtomicOpKind
Source§impl Debug for AtomicOpKind
impl Debug for AtomicOpKind
impl Eq for AtomicOpKind
Source§impl PartialEq for AtomicOpKind
impl PartialEq for AtomicOpKind
Source§fn eq(&self, other: &AtomicOpKind) -> bool
fn eq(&self, other: &AtomicOpKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AtomicOpKind
Auto Trait Implementations§
impl Freeze for AtomicOpKind
impl RefUnwindSafe for AtomicOpKind
impl Send for AtomicOpKind
impl Sync for AtomicOpKind
impl Unpin for AtomicOpKind
impl UnsafeUnpin for AtomicOpKind
impl UnwindSafe for AtomicOpKind
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