#[repr(C)]pub enum EventType {
None = 0,
Ipc = 1,
Signal = 2,
Irq = 4,
Dma = 8,
All = 15,
}Expand description
Definition of Sentry events
Multiple events can targets a given task. These events are strictly identified so that the task can easily differentiate them.
As multiple events can be set at once, event field is using a bitfield model to keep C+Rust usage easy
Variants§
None = 0
No event
Ipc = 1
Inter-task slow path IPC event
Signal = 2
Inter-task signal event
Irq = 4
Hardware interrupt event
Dma = 8
DMA stream event
All = 15
Any of the above events
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more