#[repr(C)]pub struct otTcpListenerInitializeArgs {
pub mContext: *mut c_void,
pub mAcceptReadyCallback: otTcpAcceptReady,
pub mAcceptDoneCallback: otTcpAcceptDone,
}
Expand description
Contains arguments to the otTcpListenerInitialize() function.
Fields§
§mContext: *mut c_void
< Pointer to application-specific context
mAcceptReadyCallback: otTcpAcceptReady
< “Accept ready” callback function
mAcceptDoneCallback: otTcpAcceptDone
< “Accept done” callback function
Trait Implementations§
Source§impl Clone for otTcpListenerInitializeArgs
impl Clone for otTcpListenerInitializeArgs
Source§fn clone(&self) -> otTcpListenerInitializeArgs
fn clone(&self) -> otTcpListenerInitializeArgs
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 otTcpListenerInitializeArgs
impl Debug for otTcpListenerInitializeArgs
impl Copy for otTcpListenerInitializeArgs
Auto Trait Implementations§
impl Freeze for otTcpListenerInitializeArgs
impl RefUnwindSafe for otTcpListenerInitializeArgs
impl !Send for otTcpListenerInitializeArgs
impl !Sync for otTcpListenerInitializeArgs
impl Unpin for otTcpListenerInitializeArgs
impl UnwindSafe for otTcpListenerInitializeArgs
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
)