pub struct NetworkDiagnostics {
pub multicast_working: bool,
pub available_ports: Vec<u16>,
pub interface_status: Vec<InterfaceStatus>,
pub diagnostic_messages: Vec<String>,
pub firewall_status: Option<FirewallStatus>,
}Expand description
Network diagnostic information
Fields§
§multicast_working: boolWhether multicast is working
available_ports: Vec<u16>Available ports that can be bound
interface_status: Vec<InterfaceStatus>Network interfaces with their status
diagnostic_messages: Vec<String>Platform-specific diagnostic messages
firewall_status: Option<FirewallStatus>Firewall status (if detectable)
Trait Implementations§
Source§impl Clone for NetworkDiagnostics
impl Clone for NetworkDiagnostics
Source§fn clone(&self) -> NetworkDiagnostics
fn clone(&self) -> NetworkDiagnostics
Returns a duplicate of the value. Read more
1.0.0 · 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 NetworkDiagnostics
impl RefUnwindSafe for NetworkDiagnostics
impl Send for NetworkDiagnostics
impl Sync for NetworkDiagnostics
impl Unpin for NetworkDiagnostics
impl UnwindSafe for NetworkDiagnostics
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