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

#[repr(C)]
pub struct os_dev { pub od_handlers: os_dev_handlers, pub od_init: os_dev_init_func_t, pub od_init_arg: *mut c_void, pub od_stage: u8, pub od_priority: u8, pub od_open_ref: u8, pub od_flags: u8, pub od_name: *const c_char, pub od_next: os_dev__bindgen_ty_1, }

Fields

od_handlers: os_dev_handlers

Device handlers. Implementation of base device functions.

od_init: os_dev_init_func_t

Device initialization function.

od_init_arg: *mut c_void

Argument to pass to device initialization function.

od_stage: u8

Stage during which to initialize this device.

od_priority: u8

Priority within a given stage to initialize a device.

od_open_ref: u8

Number of references to a device being open before marking the device closed.

od_flags: u8

Device flags.

od_name: *const c_char

Device name

od_next: os_dev__bindgen_ty_1

Trait Implementations

impl Default for os_dev[src]

Auto Trait Implementations

impl !Send for os_dev

impl !Sync for os_dev

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]