#[non_exhaustive]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 (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto Trait Implementations§
impl !Freeze for CompletedOp
impl !RefUnwindSafe for CompletedOp
impl !UnwindSafe for CompletedOp
impl Send for CompletedOp
impl Sync for CompletedOp
impl Unpin for CompletedOp
impl UnsafeUnpin 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