pub struct AsyncResult {
pub result: Result<u32, Error>,
pub buffer: Buffer,
}Expand description
The result of an async ping, together with the buffer that was passed in.
Fields§
§result: Result<u32, Error>The round trip time in milliseconds, or why the request failed.
buffer: BufferThe buffer that was passed into the pinger, returned for reuse.
Auto Trait Implementations§
impl Freeze for AsyncResult
impl RefUnwindSafe for AsyncResult
impl Send for AsyncResult
impl Sync for AsyncResult
impl Unpin for AsyncResult
impl UnsafeUnpin for AsyncResult
impl UnwindSafe for AsyncResult
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