#[repr(C, packed(1))]pub union IpAddressV6Union {
pub ip_subnet: IpSubnetV6,
pub ip_range: IpRangeV6,
}Expand description
This structure is used to store information about a particular address space for packet filtering purposes.
A Rust union that represents either an IPv6 subnet or an IPv6 address range.
The ip_subnet field contains the IPv6 subnet if the address space is a subnet.
The ip_range field contains the IPv6 address range if the address space is a range.
Fields§
§ip_subnet: IpSubnetV6§ip_range: IpRangeV6Trait Implementations§
Source§impl Clone for IpAddressV6Union
impl Clone for IpAddressV6Union
Source§fn clone(&self) -> IpAddressV6Union
fn clone(&self) -> IpAddressV6Union
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for IpAddressV6Union
impl Default for IpAddressV6Union
impl Copy for IpAddressV6Union
Auto Trait Implementations§
impl Freeze for IpAddressV6Union
impl RefUnwindSafe for IpAddressV6Union
impl Send for IpAddressV6Union
impl Sync for IpAddressV6Union
impl Unpin for IpAddressV6Union
impl UnwindSafe for IpAddressV6Union
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)