pub enum QueuedEvent {
DataPoint {
source: String,
data: KindedSlot,
},
Timer {
id: u64,
},
External {
payload: Vec<u8>,
},
Subscription {
subscription_id: u64,
source: String,
data: KindedSlot,
},
Error {
source: String,
message: String,
},
Shutdown,
}Expand description
Events that can be queued for processing
Variants§
DataPoint
New data point arrived from a data source
Fields
§
data: KindedSlotThe data payload
Timer
Timer fired
External
External signal from a plugin or external system
Subscription
Subscription update (streaming data)
Error
Error from a data source or plugin
Shutdown
Shutdown request
Trait Implementations§
Source§impl Clone for QueuedEvent
impl Clone for QueuedEvent
Source§fn clone(&self) -> QueuedEvent
fn clone(&self) -> QueuedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueuedEvent
impl RefUnwindSafe for QueuedEvent
impl Send for QueuedEvent
impl Sync for QueuedEvent
impl Unpin for QueuedEvent
impl UnsafeUnpin for QueuedEvent
impl UnwindSafe for QueuedEvent
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