[−][src]Struct jnet::ipv6::Addr
IPv6 address
Methods
impl Addr
[src]
pub const UNSPECIFIED: Self
[src]
Unspecified address
pub const LOOPBACK: Self
[src]
Loopback address
pub const ALL_NODES: Self
[src]
All link-local nodes multicast address
pub const ALL_ROUTERS: Self
[src]
All link-local routers multicast address
pub fn is_link_local(&self) -> bool
[src]
Is this a link local address?
pub fn is_loopback(&self) -> bool
[src]
Is this the loopback address?
pub fn is_multicast(&self) -> bool
[src]
Is this a multicast address?
pub fn is_solicited_node(&self) -> bool
[src]
Is this a solicited node multicast address?
pub fn is_unspecified(&self) -> bool
[src]
Is this the unspecified address?
pub fn into_solicited_node(self) -> Self
[src]
Turns this unicast or anycast address into a solicited node multicast address
Panics
This function panics if self
is a multicast address
Trait Implementations
impl PartialEq<Addr> for Addr
[src]
impl Eq for Addr
[src]
impl Debug for Addr
[src]
impl Display for Addr
[src]
impl Copy for Addr
[src]
impl Clone for Addr
[src]
fn clone(&self) -> Addr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for Addr
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self