Struct Ipv6Prefix
pub struct Ipv6Prefix {
pub address: Ipv6Addr,
pub prefix_len: u8,
}Expand description
An IPv6 address or gateway with its prefix length
(wds_runtime_ipv6_addr_type_v01).
Fields§
§address: Ipv6AddrThe address.
prefix_len: u8Length of the prefix in bits.
Trait Implementations§
§impl Clone for Ipv6Prefix
impl Clone for Ipv6Prefix
§fn clone(&self) -> Ipv6Prefix
fn clone(&self) -> Ipv6Prefix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Ipv6Prefix
§impl Debug for Ipv6Prefix
impl Debug for Ipv6Prefix
§impl Decode for Ipv6Prefix
impl Decode for Ipv6Prefix
impl Eq for Ipv6Prefix
§impl PartialEq for Ipv6Prefix
impl PartialEq for Ipv6Prefix
impl StructuralPartialEq for Ipv6Prefix
Auto Trait Implementations§
impl Freeze for Ipv6Prefix
impl RefUnwindSafe for Ipv6Prefix
impl Send for Ipv6Prefix
impl Sync for Ipv6Prefix
impl Unpin for Ipv6Prefix
impl UnsafeUnpin for Ipv6Prefix
impl UnwindSafe for Ipv6Prefix
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