pub struct LinuxDiscovery { /* private fields */ }
Expand description
Linux-specific network discovery implementation
Implementations§
Trait Implementations§
Source§impl Clone for LinuxDiscovery
impl Clone for LinuxDiscovery
Source§impl NetworkDiscovery for LinuxDiscovery
impl NetworkDiscovery for LinuxDiscovery
Source§fn discover_interfaces(&self) -> Result<Vec<NetworkInterface>, DiscoveryError>
fn discover_interfaces(&self) -> Result<Vec<NetworkInterface>, DiscoveryError>
Discover network interfaces on the system
Source§fn get_default_route(&self) -> Result<Option<SocketAddr>, DiscoveryError>
fn get_default_route(&self) -> Result<Option<SocketAddr>, DiscoveryError>
Get the default route for outgoing connections
Auto Trait Implementations§
impl Freeze for LinuxDiscovery
impl RefUnwindSafe for LinuxDiscovery
impl Send for LinuxDiscovery
impl Sync for LinuxDiscovery
impl Unpin for LinuxDiscovery
impl UnwindSafe for LinuxDiscovery
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