Enum net_types::ip::Ipv6ReservedScope
source · pub enum Ipv6ReservedScope {
Scope0 = 0,
Scope3 = 3,
ScopeF = 15,
}
Expand description
The list of IPv6 scopes which are reserved for future use by RFC 4291 Section 2.7.
Variants§
Scope0 = 0
The scope with numerical value 0.
Scope3 = 3
The scope with numerical value 3.
ScopeF = 15
The scope with numerical value 0xF.
Trait Implementations§
source§impl Clone for Ipv6ReservedScope
impl Clone for Ipv6ReservedScope
source§fn clone(&self) -> Ipv6ReservedScope
fn clone(&self) -> Ipv6ReservedScope
Returns a copy 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 moresource§impl Debug for Ipv6ReservedScope
impl Debug for Ipv6ReservedScope
source§impl PartialEq for Ipv6ReservedScope
impl PartialEq for Ipv6ReservedScope
source§fn eq(&self, other: &Ipv6ReservedScope) -> bool
fn eq(&self, other: &Ipv6ReservedScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Ipv6ReservedScope
impl Eq for Ipv6ReservedScope
impl StructuralEq for Ipv6ReservedScope
impl StructuralPartialEq for Ipv6ReservedScope
Auto Trait Implementations§
impl RefUnwindSafe for Ipv6ReservedScope
impl Send for Ipv6ReservedScope
impl Sync for Ipv6ReservedScope
impl Unpin for Ipv6ReservedScope
impl UnwindSafe for Ipv6ReservedScope
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