pub enum RtErrorCode {
OutputPortLost,
InputPortLost,
QueueOverflow,
ClockNotLocked,
ClockDropout,
PriorityElevationFailed,
}Expand description
Error codes for non-fatal conditions reported by the RT thread.
Variants§
OutputPortLost
A MIDI output port was disconnected or became unavailable.
InputPortLost
A MIDI input port was disconnected or became unavailable.
QueueOverflow
The RT-to-ECS queue overflowed; some events were dropped.
ClockNotLocked
The slave clock has not yet locked to an external clock source.
ClockDropout
The slave clock detected a dropout in the external clock signal.
PriorityElevationFailed
RT priority elevation failed; the thread is running at normal OS priority. Timing jitter may be higher than expected.
Trait Implementations§
Source§impl Clone for RtErrorCode
impl Clone for RtErrorCode
Source§fn clone(&self) -> RtErrorCode
fn clone(&self) -> RtErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RtErrorCode
impl Debug for RtErrorCode
Source§impl PartialEq for RtErrorCode
impl PartialEq for RtErrorCode
impl Copy for RtErrorCode
impl Eq for RtErrorCode
impl StructuralPartialEq for RtErrorCode
Auto Trait Implementations§
impl Freeze for RtErrorCode
impl RefUnwindSafe for RtErrorCode
impl Send for RtErrorCode
impl Sync for RtErrorCode
impl Unpin for RtErrorCode
impl UnsafeUnpin for RtErrorCode
impl UnwindSafe for RtErrorCode
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