pub struct Completion<C> {
pub context: C,
pub ret: i32,
}
Expand description
The result of a completed request.
Type parameter C
denotes the type of the “context” associated with the request.
Fields§
§context: C
The user-defined “context” that was associated with the request.
ret: i32
0 on success, a negative errno
value on error.
Auto Trait Implementations§
impl<C> Freeze for Completion<C>where
C: Freeze,
impl<C> RefUnwindSafe for Completion<C>where
C: RefUnwindSafe,
impl<C> Send for Completion<C>where
C: Send,
impl<C> Sync for Completion<C>where
C: Sync,
impl<C> Unpin for Completion<C>where
C: Unpin,
impl<C> UnwindSafe for Completion<C>where
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