pub struct PingRecord {
pub start: Instant,
pub rtt: Option<Duration>,
}Expand description
A ping sent to an arbiter, as exposed by System::list_arbiter_pings.
Fields§
§start: InstantTime the ping round started.
rtt: Option<Duration>Elapsed time when the primary arbiter observed the ping task complete.
None means no successful response has been recorded, including when
the ping is still pending or its task was canceled.
Trait Implementations§
Source§impl Clone for PingRecord
impl Clone for PingRecord
impl Copy for PingRecord
Auto Trait Implementations§
impl Freeze for PingRecord
impl RefUnwindSafe for PingRecord
impl Send for PingRecord
impl Sync for PingRecord
impl Unpin for PingRecord
impl UnsafeUnpin for PingRecord
impl UnwindSafe for PingRecord
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