Struct esp_idf_svc::hal::sys::esp_event_loop_args_t
source · #[repr(C)]pub struct esp_event_loop_args_t {
pub queue_size: i32,
pub task_name: *const i8,
pub task_priority: u32,
pub task_stack_size: u32,
pub task_core_id: i32,
}
Expand description
Configuration for creating event loops
Fields§
§queue_size: i32
< size of the event loop queue
task_name: *const i8
< name of the event loop task; if NULL, a dedicated task is not created for event loop
task_priority: u32
< priority of the event loop task, ignored if task name is NULL
task_stack_size: u32
< stack size of the event loop task, ignored if task name is NULL
task_core_id: i32
< core to which the event loop task is pinned to, ignored if task name is NULL
Trait Implementations§
source§impl Clone for esp_event_loop_args_t
impl Clone for esp_event_loop_args_t
source§fn clone(&self) -> esp_event_loop_args_t
fn clone(&self) -> esp_event_loop_args_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_event_loop_args_t
impl Debug for esp_event_loop_args_t
source§impl Default for esp_event_loop_args_t
impl Default for esp_event_loop_args_t
source§fn default() -> esp_event_loop_args_t
fn default() -> esp_event_loop_args_t
Returns the “default value” for a type. Read more
source§impl From<&ExplicitLoopConfiguration> for esp_event_loop_args_t
impl From<&ExplicitLoopConfiguration> for esp_event_loop_args_t
source§fn from(conf: &ExplicitLoopConfiguration) -> Self
fn from(conf: &ExplicitLoopConfiguration) -> Self
Converts to this type from the input type.
impl Copy for esp_event_loop_args_t
Auto Trait Implementations§
impl Freeze for esp_event_loop_args_t
impl RefUnwindSafe for esp_event_loop_args_t
impl !Send for esp_event_loop_args_t
impl !Sync for esp_event_loop_args_t
impl Unpin for esp_event_loop_args_t
impl UnwindSafe for esp_event_loop_args_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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)