pub struct Completion {
pub token: Token,
pub result: Result<usize>,
}Expand description
Completion result for async operations
Fields§
§token: TokenToken identifying the operation
result: Result<usize>Result of the operation (bytes transferred or error)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Completion
impl !UnwindSafe for Completion
impl Freeze for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnsafeUnpin for Completion
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