#[repr(C)]pub struct esp_openthread_mainloop_context_t {
    pub read_fds: fd_set,
    pub write_fds: fd_set,
    pub error_fds: fd_set,
    pub max_fd: i32,
    pub timeout: timeval,
}Expand description
This structure represents a context for a select() based mainloop.
Fields§
§read_fds: fd_set< The read file descriptors
write_fds: fd_set< The write file descriptors
error_fds: fd_set< The error file descriptors
max_fd: i32< The max file descriptor
timeout: timeval< The timeout
Trait Implementations§
Source§impl Clone for esp_openthread_mainloop_context_t
 
impl Clone for esp_openthread_mainloop_context_t
Source§fn clone(&self) -> esp_openthread_mainloop_context_t
 
fn clone(&self) -> esp_openthread_mainloop_context_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for esp_openthread_mainloop_context_t
 
impl Debug for esp_openthread_mainloop_context_t
Source§impl Default for esp_openthread_mainloop_context_t
 
impl Default for esp_openthread_mainloop_context_t
Source§fn default() -> esp_openthread_mainloop_context_t
 
fn default() -> esp_openthread_mainloop_context_t
Returns the “default value” for a type. Read more
impl Copy for esp_openthread_mainloop_context_t
Auto Trait Implementations§
impl Freeze for esp_openthread_mainloop_context_t
impl RefUnwindSafe for esp_openthread_mainloop_context_t
impl Send for esp_openthread_mainloop_context_t
impl Sync for esp_openthread_mainloop_context_t
impl Unpin for esp_openthread_mainloop_context_t
impl UnwindSafe for esp_openthread_mainloop_context_t
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
 
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)