[−][src]Struct mynewt::kernel::os::os_event
Structure representing an OS event. OS events get placed onto the event queues and are consumed by tasks.
Fields
ev_queued: u8
Whether this OS event is queued on an event queue.
ev_cb: os_event_fn
Callback to call when the event is taken off of an event queue. APIs, except for os_eventq_run(), assume this callback will be called by the user.
ev_arg: *mut c_void
Argument to pass to the event queue callback.
ev_next: os_event__bindgen_ty_1
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,