pub struct NdpPacketBuilder {
pub src_mac: MacAddr,
pub dst_mac: MacAddr,
pub src_ip: Ipv6Addr,
pub dst_ip: Ipv6Addr,
}Expand description
NDP Packet Builder.
Fields§
§src_mac: MacAddrSource MAC address.
dst_mac: MacAddrDestination MAC address.
src_ip: Ipv6AddrSource IPv6 address.
dst_ip: Ipv6AddrDestination IPv6 address.
Implementations§
Trait Implementations§
Source§impl Clone for NdpPacketBuilder
impl Clone for NdpPacketBuilder
Source§fn clone(&self) -> NdpPacketBuilder
fn clone(&self) -> NdpPacketBuilder
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 NdpPacketBuilder
impl RefUnwindSafe for NdpPacketBuilder
impl Send for NdpPacketBuilder
impl Sync for NdpPacketBuilder
impl Unpin for NdpPacketBuilder
impl UnwindSafe for NdpPacketBuilder
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