pub struct DiscoveryInterface {
pub name: String,
pub local_ip: Ipv4Addr,
pub netmask: Ipv4Addr,
pub broadcast: Ipv4Addr,
}Fields§
§name: String§local_ip: Ipv4Addr§netmask: Ipv4Addr§broadcast: Ipv4AddrTrait Implementations§
Source§impl Clone for DiscoveryInterface
impl Clone for DiscoveryInterface
Source§fn clone(&self) -> DiscoveryInterface
fn clone(&self) -> DiscoveryInterface
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 DiscoveryInterface
impl RefUnwindSafe for DiscoveryInterface
impl Send for DiscoveryInterface
impl Sync for DiscoveryInterface
impl Unpin for DiscoveryInterface
impl UnsafeUnpin for DiscoveryInterface
impl UnwindSafe for DiscoveryInterface
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