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: Ipv6Addr
Source IPv6 address
dst_ip: Ipv6Addr
Destination IPv6 address
icmpv6_type: Icmpv6Type
ICMPv6 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 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 Icmpv6PacketBuilder
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