pub struct PingResult {
pub dropped: bool,
pub latency_ms: u64,
}Expand description
Result of a ping operation.
Contains information about whether the ping was successful and the measured latency.
Fields§
§dropped: boolWhether the packet was dropped (no response received or invalid response)
latency_ms: u64Latency in milliseconds
Auto Trait Implementations§
impl Freeze for PingResult
impl RefUnwindSafe for PingResult
impl Send for PingResult
impl Sync for PingResult
impl Unpin for PingResult
impl UnsafeUnpin for PingResult
impl UnwindSafe for PingResult
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