#[repr(transparent)]pub struct BackboneRouterMulticastListenerInfo(pub otBackboneRouterMulticastListenerInfo);
Expand description
Functional equivalent of otsys::otBackboneRouterMUlticastListenerInfo
.
Tuple Fields§
§0: otBackboneRouterMulticastListenerInfo
Implementations§
Source§impl BackboneRouterMulticastListenerInfo
impl BackboneRouterMulticastListenerInfo
Sourcepub fn empty() -> BackboneRouterMulticastListenerInfo
pub fn empty() -> BackboneRouterMulticastListenerInfo
Returns an empty router info.
Source§impl BackboneRouterMulticastListenerInfo
impl BackboneRouterMulticastListenerInfo
Sourcepub fn get_address(&self) -> Ip6Address
pub fn get_address(&self) -> Ip6Address
Returns the IPv6 address
Sourcepub fn set_address(&mut self, addr: Ip6Address)
pub fn set_address(&mut self, addr: Ip6Address)
Sets the IPv6 multicast address:
Sourcepub fn get_timeout_sec(&self) -> u32
pub fn get_timeout_sec(&self) -> u32
Returns the Timeout.
Sourcepub fn set_timeout_sec(&mut self, timeout: u32)
pub fn set_timeout_sec(&mut self, timeout: u32)
Sets the Timeout.
Trait Implementations§
Source§impl Clone for BackboneRouterMulticastListenerInfo
impl Clone for BackboneRouterMulticastListenerInfo
Source§fn clone(&self) -> BackboneRouterMulticastListenerInfo
fn clone(&self) -> BackboneRouterMulticastListenerInfo
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 Default for BackboneRouterMulticastListenerInfo
impl Default for BackboneRouterMulticastListenerInfo
Source§fn default() -> BackboneRouterMulticastListenerInfo
fn default() -> BackboneRouterMulticastListenerInfo
Returns the “default value” for a type. Read more
Source§impl<'a> From<&'a BackboneRouterMulticastListenerInfo> for &'a otBackboneRouterMulticastListenerInfo
impl<'a> From<&'a BackboneRouterMulticastListenerInfo> for &'a otBackboneRouterMulticastListenerInfo
Source§fn from(x: &'a BackboneRouterMulticastListenerInfo) -> Self
fn from(x: &'a BackboneRouterMulticastListenerInfo) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a otBackboneRouterMulticastListenerInfo> for &'a BackboneRouterMulticastListenerInfo
impl<'a> From<&'a otBackboneRouterMulticastListenerInfo> for &'a BackboneRouterMulticastListenerInfo
Source§impl From<BackboneRouterMulticastListenerInfo> for otBackboneRouterMulticastListenerInfo
impl From<BackboneRouterMulticastListenerInfo> for otBackboneRouterMulticastListenerInfo
Source§fn from(x: BackboneRouterMulticastListenerInfo) -> Self
fn from(x: BackboneRouterMulticastListenerInfo) -> Self
Converts to this type from the input type.
Source§impl From<otBackboneRouterMulticastListenerInfo> for BackboneRouterMulticastListenerInfo
impl From<otBackboneRouterMulticastListenerInfo> for BackboneRouterMulticastListenerInfo
Source§impl OtCastable for BackboneRouterMulticastListenerInfo
impl OtCastable for BackboneRouterMulticastListenerInfo
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
.Auto Trait Implementations§
impl Freeze for BackboneRouterMulticastListenerInfo
impl RefUnwindSafe for BackboneRouterMulticastListenerInfo
impl Send for BackboneRouterMulticastListenerInfo
impl Sync for BackboneRouterMulticastListenerInfo
impl Unpin for BackboneRouterMulticastListenerInfo
impl UnwindSafe for BackboneRouterMulticastListenerInfo
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
)