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

#[repr(C)]pub struct os_mutex {
    pub mu_head: os_mutex__bindgen_ty_1,
    pub _pad: u8,
    pub mu_prio: u8,
    pub mu_level: u16,
    pub mu_owner: *mut os_task,
}

OS mutex structure

Fields

mu_head: os_mutex__bindgen_ty_1_pad: u8mu_prio: u8

Mutex owner's default priority

mu_level: u16

Mutex call nesting level

mu_owner: *mut os_task

Task that owns the mutex

Trait Implementations

impl Default for os_mutex[src]

Auto Trait Implementations

impl !Send for os_mutex

impl !Sync for os_mutex

impl Unpin for os_mutex

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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, 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.