Struct esp_idf_svc::hal::task::thread::ThreadSpawnConfiguration
source · pub struct ThreadSpawnConfiguration {
pub name: Option<&'static [u8]>,
pub stack_size: usize,
pub priority: u8,
pub inherit: bool,
pub pin_to_core: Option<Core>,
}
Fields§
§name: Option<&'static [u8]>
§stack_size: usize
§priority: u8
§inherit: bool
§pin_to_core: Option<Core>
Implementations§
Trait Implementations§
source§impl Debug for ThreadSpawnConfiguration
impl Debug for ThreadSpawnConfiguration
source§impl Default for ThreadSpawnConfiguration
impl Default for ThreadSpawnConfiguration
source§fn default() -> ThreadSpawnConfiguration
fn default() -> ThreadSpawnConfiguration
Returns the “default value” for a type. Read more
source§impl From<&ThreadSpawnConfiguration> for esp_pthread_cfg_t
impl From<&ThreadSpawnConfiguration> for esp_pthread_cfg_t
source§fn from(conf: &ThreadSpawnConfiguration) -> esp_pthread_cfg_t
fn from(conf: &ThreadSpawnConfiguration) -> esp_pthread_cfg_t
Converts to this type from the input type.
source§impl From<esp_pthread_cfg_t> for ThreadSpawnConfiguration
impl From<esp_pthread_cfg_t> for ThreadSpawnConfiguration
source§fn from(conf: esp_pthread_cfg_t) -> ThreadSpawnConfiguration
fn from(conf: esp_pthread_cfg_t) -> ThreadSpawnConfiguration
Converts to this type from the input type.