Struct r3::kernel::EventGroup

source ·
pub struct EventGroup<System>(_)
where
    System: NotSupportedYet
;
Expand description

Represents a single owned event group in a system.

This type is ABI-compatible with System::RawEventGroupId.

See EventGroupRef for the borrowed counterpart. See EventGroupMethods for the operations provided by this handle type.

An event group is a set of bits that can be updated and waited for to be set.

Relation to Other Specifications: event group (FreeRTOS), event group (Freescale MQX), EventFlags (Mbed OS), events (OSEK/VDX, assigned to each extended task), event (RT-Thread), event set (RTEMS, assigned to each task), Eventflag (μITRON4.0)

Trait Implementations

Formats the value using the given formatter. Read more
The system type this object pertains to.
Construct a EventGroup from RawEventGroupId. Read more
Get the raw RawEventGroupId value representing this object.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Set the specified bits.
Clear the specified bits.
Get the currently set bits.
Wait for all or any of the specified bits to be set. Optionally, clear the specified bits. Read more
wait with timeout.
Non-blocking version of wait. Returns immediately with PollEventGroupError::Timeout if the unblocking condition is not satisfied. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.