#[repr(C)]pub struct otMessageQueueInfo {
pub mNumMessages: u16,
pub mNumBuffers: u16,
pub mTotalBytes: u32,
}
Expand description
Represents information about a message queue.
Fields§
§mNumMessages: u16
< Number of messages in the queue.
mNumBuffers: u16
< Number of data buffers used by messages in the queue.
mTotalBytes: u32
< Total number of bytes used by all messages in the queue.
Trait Implementations§
Source§impl Clone for otMessageQueueInfo
impl Clone for otMessageQueueInfo
Source§fn clone(&self) -> otMessageQueueInfo
fn clone(&self) -> otMessageQueueInfo
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 otMessageQueueInfo
impl Debug for otMessageQueueInfo
Source§impl Default for otMessageQueueInfo
impl Default for otMessageQueueInfo
Source§fn default() -> otMessageQueueInfo
fn default() -> otMessageQueueInfo
Returns the “default value” for a type. Read more
impl Copy for otMessageQueueInfo
Auto Trait Implementations§
impl Freeze for otMessageQueueInfo
impl RefUnwindSafe for otMessageQueueInfo
impl Send for otMessageQueueInfo
impl Sync for otMessageQueueInfo
impl Unpin for otMessageQueueInfo
impl UnwindSafe for otMessageQueueInfo
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
)