pub struct ConnectivityReport {
pub destination: IpAddr,
pub route: Option<RouteInfo>,
pub output_interface: Option<String>,
pub gateway: Option<IpAddr>,
pub gateway_reachable: bool,
pub issues: Vec<Issue>,
}Expand description
Connectivity check result.
Fields§
§destination: IpAddrDestination that was checked.
route: Option<RouteInfo>Route information if found.
output_interface: Option<String>Output interface for the route.
gateway: Option<IpAddr>Gateway address if any.
gateway_reachable: boolWhether the gateway is reachable (based on neighbor state).
issues: Vec<Issue>Issues detected during connectivity check.
Trait Implementations§
Source§impl Clone for ConnectivityReport
impl Clone for ConnectivityReport
Source§fn clone(&self) -> ConnectivityReport
fn clone(&self) -> ConnectivityReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConnectivityReport
impl RefUnwindSafe for ConnectivityReport
impl Send for ConnectivityReport
impl Sync for ConnectivityReport
impl Unpin for ConnectivityReport
impl UnsafeUnpin for ConnectivityReport
impl UnwindSafe for ConnectivityReport
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