#[non_exhaustive]#[repr(u8)]pub enum EventType {
RecordingPeriod = 0,
RecordingInterrupt = 1,
AcquisitionInterrupt = 2,
StartRecording = 3,
StopRecording = 4,
Trigger = 5,
Marker = 6,
}Expand description
\brief Type of event.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RecordingPeriod = 0
< Specifies a recording period (range).
RecordingInterrupt = 1
< The recording was interrupted.
AcquisitionInterrupt = 2
< The data acquisition was interrupted.
StartRecording = 3
< Start recording event.
StopRecording = 4
< Stop recording event.
Trigger = 5
< Generic event (no range).
Marker = 6
< Another generic event (maybe range).
Trait Implementations§
Source§impl Ord for EventType
impl Ord for EventType
Source§impl PartialOrd for EventType
impl PartialOrd for EventType
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin 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