pub struct NeighborDiscoverySetup {
pub ip_address: Vec<u8>,
pub hardware_address: Vec<u8>,
}Expand description
neighbor_discovery_setup — structure { ip_address, hardware_address }
Used in IPv6 neighbor discovery.
Fields§
§ip_address: Vec<u8>IP address of the neighbor.
hardware_address: Vec<u8>Hardware (MAC) address.
Trait Implementations§
Source§impl Clone for NeighborDiscoverySetup
impl Clone for NeighborDiscoverySetup
Source§fn clone(&self) -> NeighborDiscoverySetup
fn clone(&self) -> NeighborDiscoverySetup
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 moreSource§impl Debug for NeighborDiscoverySetup
impl Debug for NeighborDiscoverySetup
Source§impl<'de> Deserialize<'de> for NeighborDiscoverySetup
impl<'de> Deserialize<'de> for NeighborDiscoverySetup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NeighborDiscoverySetup
Source§impl From<NeighborDiscoverySetup> for CosemDataType
impl From<NeighborDiscoverySetup> for CosemDataType
Source§fn from(nd: NeighborDiscoverySetup) -> Self
fn from(nd: NeighborDiscoverySetup) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NeighborDiscoverySetup
impl PartialEq for NeighborDiscoverySetup
Source§impl Serialize for NeighborDiscoverySetup
impl Serialize for NeighborDiscoverySetup
impl StructuralPartialEq for NeighborDiscoverySetup
Source§impl TryFrom<&CosemDataType> for NeighborDiscoverySetup
impl TryFrom<&CosemDataType> for NeighborDiscoverySetup
Auto Trait Implementations§
impl Freeze for NeighborDiscoverySetup
impl RefUnwindSafe for NeighborDiscoverySetup
impl Send for NeighborDiscoverySetup
impl Sync for NeighborDiscoverySetup
impl Unpin for NeighborDiscoverySetup
impl UnsafeUnpin for NeighborDiscoverySetup
impl UnwindSafe for NeighborDiscoverySetup
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