#[repr(C, packed(1))]pub struct IpSubnetV6 {
pub ip: IN6_ADDR,
pub ip_mask: IN6_ADDR,
}Expand description
Represents an IPv6 subnet used by the packet filtering mechanism.
A Rust equivalent for _IP_SUBNET_V6.
The ip field contains the IPv6 address.
The ip_mask field contains the subnet mask.
Fields§
§ip: IN6_ADDR§ip_mask: IN6_ADDRImplementations§
Trait Implementations§
Source§impl Clone for IpSubnetV6
impl Clone for IpSubnetV6
Source§fn clone(&self) -> IpSubnetV6
fn clone(&self) -> IpSubnetV6
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 moreimpl Copy for IpSubnetV6
Auto Trait Implementations§
impl Freeze for IpSubnetV6
impl RefUnwindSafe for IpSubnetV6
impl Send for IpSubnetV6
impl Sync for IpSubnetV6
impl Unpin for IpSubnetV6
impl UnwindSafe for IpSubnetV6
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