#[repr(transparent)]pub struct Scope(pub u8);
Expand description
Type representing an IPv6 scope, as represented on IPv6 multicast addresses.
Tuple Fields§
§0: u8
Implementations§
Source§impl Scope
impl Scope
pub const INTERFACE_LOCAL: Scope = _
pub const LINK_LOCAL: Scope = _
pub const REALM_LOCAL: Scope = _
pub const ADMIN_LOCAL: Scope = _
pub const SITE_LOCAL: Scope = _
pub const ORGANIZATION_LOCAL: Scope = _
pub const GLOBAL: Scope = _
Trait Implementations§
Source§impl Ord for Scope
impl Ord for Scope
Source§impl PartialOrd for Scope
impl PartialOrd for Scope
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)