#[repr(C)]pub struct otHistoryTrackerFavoredOnLinkPrefix {
pub mOnLinkPrefix: otIp6Prefix,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}Expand description
Represents a favored on-link prefix on AIL tracked by a device acting as a Border Router (BR).
The mIsLocal field indicates whether the favored on-link prefix is the same as the local one maintained by this
BR.
Fields§
§mOnLinkPrefix: otIp6Prefix< The on-link prefix.
_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>Implementations§
Source§impl otHistoryTrackerFavoredOnLinkPrefix
impl otHistoryTrackerFavoredOnLinkPrefix
pub fn mIsLocal(&self) -> bool
pub fn set_mIsLocal(&mut self, val: bool)
pub unsafe fn mIsLocal_raw(this: *const Self) -> bool
pub unsafe fn set_mIsLocal_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1(mIsLocal: bool) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for otHistoryTrackerFavoredOnLinkPrefix
impl Clone for otHistoryTrackerFavoredOnLinkPrefix
Source§fn clone(&self) -> otHistoryTrackerFavoredOnLinkPrefix
fn clone(&self) -> otHistoryTrackerFavoredOnLinkPrefix
Returns a duplicate 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 moreimpl Copy for otHistoryTrackerFavoredOnLinkPrefix
Auto Trait Implementations§
impl Freeze for otHistoryTrackerFavoredOnLinkPrefix
impl RefUnwindSafe for otHistoryTrackerFavoredOnLinkPrefix
impl Send for otHistoryTrackerFavoredOnLinkPrefix
impl Sync for otHistoryTrackerFavoredOnLinkPrefix
impl Unpin for otHistoryTrackerFavoredOnLinkPrefix
impl UnsafeUnpin for otHistoryTrackerFavoredOnLinkPrefix
impl UnwindSafe for otHistoryTrackerFavoredOnLinkPrefix
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