#[repr(C)]pub struct otLinkedBuffer {
pub mNext: *mut otLinkedBuffer,
pub mData: *const u8,
pub mLength: usize,
}Expand description
A linked buffer structure for use with TCP.
A single otLinkedBuffer structure references an array of bytes in memory, via mData and mLength. The mNext field is used to form a chain of otLinkedBuffer structures.
Fields§
§mNext: *mut otLinkedBuffer< Pointer to the next linked buffer in the chain, or NULL if it is the end.
mData: *const u8< Pointer to data referenced by this linked buffer.
mLength: usize< Length of this linked buffer (number of bytes).
Trait Implementations§
Source§impl Clone for otLinkedBuffer
impl Clone for otLinkedBuffer
Source§fn clone(&self) -> otLinkedBuffer
fn clone(&self) -> otLinkedBuffer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for otLinkedBuffer
Source§impl Debug for otLinkedBuffer
impl Debug for otLinkedBuffer
Auto Trait Implementations§
impl !Send for otLinkedBuffer
impl !Sync for otLinkedBuffer
impl Freeze for otLinkedBuffer
impl RefUnwindSafe for otLinkedBuffer
impl Unpin for otLinkedBuffer
impl UnsafeUnpin for otLinkedBuffer
impl UnwindSafe for otLinkedBuffer
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