pub enum CompletedOp {
Get {
result: Result<Option<Value>, Error>,
user_data: u64,
latency_ns: u64,
},
Set {
result: Result<(), Error>,
user_data: u64,
latency_ns: u64,
},
Delete {
result: Result<bool, Error>,
user_data: u64,
latency_ns: u64,
},
}Expand description
A completed fire/recv operation with its result.
Variants§
Auto Trait Implementations§
impl !Freeze for CompletedOp
impl !RefUnwindSafe for CompletedOp
impl Send for CompletedOp
impl Sync for CompletedOp
impl Unpin for CompletedOp
impl UnsafeUnpin for CompletedOp
impl !UnwindSafe for CompletedOp
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