pub struct PathInfo {
pub addr: SocketAddr,
pub path_type: PathType,
pub rtt: Option<Duration>,
pub is_open: bool,
}Expand description
Information about a tracked path
Fields§
§addr: SocketAddrSocket address of the path
path_type: PathTypeType of path (direct or relay)
rtt: Option<Duration>Measured RTT if available
is_open: boolWhether the path is currently open
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathInfo
impl RefUnwindSafe for PathInfo
impl Send for PathInfo
impl Sync for PathInfo
impl Unpin for PathInfo
impl UnwindSafe for PathInfo
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