[][src]Enum freertos_rs::TaskNotification

pub enum TaskNotification {
    NoAction,
    SetBits(u32),
    Increment,
    OverwriteValue(u32),
    SetValue(u32),
}

Notification to be sent to a task.

Variants

NoAction

Send the event, unblock the task, the task's notification value isn't changed.

SetBits(u32)

Perform a logical or with the task's notification value.

Increment

Increment the task's notification value by one.

OverwriteValue(u32)

Set the task's notification value to this value.

SetValue(u32)

Try to set the task's notification value to this value. Succeeds only if the task has no pending notifications. Otherwise, the notification call will fail.

Trait Implementations

impl Copy for TaskNotification[src]

impl Debug for TaskNotification[src]

impl Clone for TaskNotification[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.