pub type MeshLocalPrefix = Ip6NetworkPrefix;
Expand description
Mesh-Local Prefix.
Same type as Ip6NetworkPrefix
. Functional equivalent of otsys::otMeshLocalPrefix
.
Aliased Type§
struct MeshLocalPrefix(pub otIp6NetworkPrefix);
Fields§
§0: otIp6NetworkPrefix
Implementations
Trait Implementations
Source§impl Clone for Ip6NetworkPrefix
impl Clone for Ip6NetworkPrefix
Source§fn clone(&self) -> Ip6NetworkPrefix
fn clone(&self) -> Ip6NetworkPrefix
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 Ip6NetworkPrefix
impl Debug for Ip6NetworkPrefix
Source§impl Default for Ip6NetworkPrefix
impl Default for Ip6NetworkPrefix
Source§fn default() -> Ip6NetworkPrefix
fn default() -> Ip6NetworkPrefix
Returns the “default value” for a type. Read more
Source§impl Display for Ip6NetworkPrefix
impl Display for Ip6NetworkPrefix
Source§impl From<Ipv6Addr> for Ip6NetworkPrefix
impl From<Ipv6Addr> for Ip6NetworkPrefix
Source§impl From<Ipv6Address> for Ip6NetworkPrefix
impl From<Ipv6Address> for Ip6NetworkPrefix
Source§fn from(x: Ipv6Address) -> Self
fn from(x: Ipv6Address) -> Self
Extracts the first 64 bits of a fidl_fuchsia_net::Ipv6Address
to make
a Ip6NetworkPrefix
.
Source§impl From<otIp6NetworkPrefix> for Ip6NetworkPrefix
impl From<otIp6NetworkPrefix> for Ip6NetworkPrefix
Source§impl OtCastable for Ip6NetworkPrefix
impl OtCastable for Ip6NetworkPrefix
Source§fn as_ot_ptr(&self) -> *const Self::OtType
fn as_ot_ptr(&self) -> *const Self::OtType
Returns a pointer to the underlying
Self::OtType
instance.Source§fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
Returns a mutable pointer to the underlying
Self::OtType
instance.Source§unsafe fn ref_from_ot_ptr<'a>(ptr: *const Self::OtType) -> Option<&'a Self>
unsafe fn ref_from_ot_ptr<'a>(ptr: *const Self::OtType) -> Option<&'a Self>
Creates a reference from a pointer to an
Self::OtType
. Read moreSource§unsafe fn mut_from_ot_mut_ptr<'a>(
ptr: *mut Self::OtType,
) -> Option<&'a mut Self>
unsafe fn mut_from_ot_mut_ptr<'a>( ptr: *mut Self::OtType, ) -> Option<&'a mut Self>
Creates a mut reference from a mut pointer to an
Self::OtType
. Read moreSource§fn as_ot_ref(&self) -> &Self::OtType
fn as_ot_ref(&self) -> &Self::OtType
Returns a reference to the original OpenThread type
Self::OtType
.Source§fn as_ot_mut(&mut self) -> &mut Self::OtType
fn as_ot_mut(&mut self) -> &mut Self::OtType
Returns a mutable reference to the original OpenThread type
Self::OtType
.Source§fn ref_from_ot_ref(x: &Self::OtType) -> &Self
fn ref_from_ot_ref(x: &Self::OtType) -> &Self
Casts a reference to the original OpenThread type to a reference to
Self
.