pub struct Ipv6PacketBuilder {
pub src_ip: Ipv6Addr,
pub dst_ip: Ipv6Addr,
pub next_protocol: IpNextLevelProtocol,
pub payload_length: Option<u16>,
pub hop_limit: Option<u8>,
}
Expand description
IPv6 Packet Builder.
Fields§
§src_ip: Ipv6Addr
Source IPv6 address.
dst_ip: Ipv6Addr
Destination IPv6 address.
next_protocol: IpNextLevelProtocol
Next level protocol.
payload_length: Option<u16>
Payload Length.
hop_limit: Option<u8>
Hop Limit.
Implementations§
Trait Implementations§
Source§impl Clone for Ipv6PacketBuilder
impl Clone for Ipv6PacketBuilder
Source§fn clone(&self) -> Ipv6PacketBuilder
fn clone(&self) -> Ipv6PacketBuilder
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 Freeze for Ipv6PacketBuilder
impl RefUnwindSafe for Ipv6PacketBuilder
impl Send for Ipv6PacketBuilder
impl Sync for Ipv6PacketBuilder
impl Unpin for Ipv6PacketBuilder
impl UnwindSafe for Ipv6PacketBuilder
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