[][src]Struct mynewt::kernel::os::os_task_info

#[repr(C)]
pub struct os_task_info { pub oti_prio: u8, pub oti_taskid: u8, pub oti_state: u8, pub oti_stkusage: u16, pub oti_stksize: u16, pub oti_cswcnt: u32, pub oti_runtime: u32, pub oti_last_checkin: os_time_t, pub oti_next_checkin: os_time_t, pub oti_name: [c_char; 32], }

Information about an individual task, returned for management APIs.

Fields

oti_prio: u8

Task priority

oti_taskid: u8

Task identifier

oti_state: u8

Task state, either READY or SLEEP

oti_stkusage: u16

Task stack usage

oti_stksize: u16

Task stack size

oti_cswcnt: u32

Task context switch count

oti_runtime: u32

Task runtime

oti_last_checkin: os_time_t

Last time this task checked in with sanity

oti_next_checkin: os_time_t

Next time this task is scheduled to check-in with sanity

oti_name: [c_char; 32]

Name of this task

Trait Implementations

impl Default for os_task_info[src]

Auto Trait Implementations

impl Send for os_task_info

impl Sync for os_task_info

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]