Enum rtlola_interpreter::queued::QueueError
source · pub enum QueueError {
SourceError(Box<dyn Error + Send>),
ThreadPanic(String),
ThreadSendError(Box<dyn Any + Send>),
MultipleStart,
EventBeforeStart,
}Expand description
Represents an error emitted by the API.
Variants§
SourceError(Box<dyn Error + Send>)
A problem with the event source occurred further described by the inner error.
ThreadPanic(String)
A problem with the worker thread occurred.
ThreadSendError(Box<dyn Any + Send>)
An event could not be sent.
MultipleStart
Multiple start commands were send to the api.
EventBeforeStart
An event was received before the monitor was started.
Trait Implementations§
source§impl Debug for QueueError
impl Debug for QueueError
source§impl Display for QueueError
impl Display for QueueError
source§impl Error for QueueError
impl Error for QueueError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()