Struct xenet_packet_builder::icmpv6::Icmpv6PacketBuilder
source · pub struct Icmpv6PacketBuilder {
pub src_ip: Ipv6Addr,
pub dst_ip: Ipv6Addr,
pub icmpv6_type: Icmpv6Type,
pub sequence_number: Option<u16>,
pub identifier: Option<u16>,
}Expand description
ICMPv6 Packet Builder.
Fields§
§src_ip: Ipv6AddrSource IPv6 address.
dst_ip: Ipv6AddrDestination IPv6 address.
icmpv6_type: Icmpv6TypeICMPv6 type.
sequence_number: Option<u16>ICMPv6 sequence number.
identifier: Option<u16>ICMPv6 identifier.
Implementations§
Trait Implementations§
source§impl Clone for Icmpv6PacketBuilder
impl Clone for Icmpv6PacketBuilder
source§fn clone(&self) -> Icmpv6PacketBuilder
fn clone(&self) -> Icmpv6PacketBuilder
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 Icmpv6PacketBuilder
impl Send for Icmpv6PacketBuilder
impl Sync for Icmpv6PacketBuilder
impl Unpin for Icmpv6PacketBuilder
impl UnwindSafe for Icmpv6PacketBuilder
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