Struct xenet_packet_builder::ndp::NdpPacketBuilder
source · 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 copy 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 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