Struct cross_socket::packet::ipv6::Ipv6PacketBuilder
source · pub struct Ipv6PacketBuilder {
pub src_ip: Ipv6Addr,
pub dst_ip: Ipv6Addr,
pub next_protocol: IpNextLevelProtocol,
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
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 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