pub struct IPv6 {
pub source_address: Ipv6Addr,
pub source_port: u16,
pub destination_address: Ipv6Addr,
pub destination_port: u16,
}
Expand description
The source and destination IPv6 addresses and TCP ports of a header.
Fields§
§source_address: Ipv6Addr
The source IPv6 address.
source_port: u16
The source TCP/UDP port.
destination_address: Ipv6Addr
The destination IPv6 address.
destination_port: u16
The destination TCP/UDP port.
Implementations§
Trait Implementations§
impl Copy for IPv6
impl Eq for IPv6
impl StructuralPartialEq for IPv6
Auto Trait Implementations§
impl Freeze for IPv6
impl RefUnwindSafe for IPv6
impl Send for IPv6
impl Sync for IPv6
impl Unpin for IPv6
impl UnwindSafe for IPv6
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