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
source_port: u16
destination_address: Ipv6Addr
destination_port: u16
Implementations
Trait Implementations
impl Copy for IPv6
impl StructuralPartialEq for IPv6
Auto Trait Implementations
impl RefUnwindSafe for IPv6
impl Send for IPv6
impl Sync for IPv6
impl Unpin for IPv6
impl UnwindSafe for IPv6
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more