#[non_exhaustive]pub struct AddressArp {
pub address: String,
pub mac: Option<String>,
pub multicast_mac: bool,
pub publish: bool,
}Expand description
A static arp entry of an address.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.address: String§mac: Option<String>§multicast_mac: boolThe MAC is written with multicast-mac.
publish: boolThe device also answers ARP requests for the address.
Trait Implementations§
Source§impl Clone for AddressArp
impl Clone for AddressArp
Source§impl Debug for AddressArp
impl Debug for AddressArp
impl Eq for AddressArp
Source§impl PartialEq for AddressArp
impl PartialEq for AddressArp
impl StructuralPartialEq for AddressArp
Auto Trait Implementations§
impl Forget for AddressArp
impl Freeze for AddressArp
impl Move for AddressArp
impl RefUnwindSafe for AddressArp
impl Send for AddressArp
impl Sync for AddressArp
impl Unpin for AddressArp
impl UnsafeUnpin for AddressArp
impl UnwindSafe for AddressArp
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