Enum exar::EventStreamMessage
[−]
[src]
pub enum EventStreamMessage { Event(Event), End, }
Exar DB's event stream message.
It can either be a message containing an event or a message indicating the end of the event stream.
Examples
extern crate exar; use exar::*; let event = Event::new("data", vec!["tag1", "tag2"]); let event_stream_message = EventStreamMessage::Event(event); let event_stream_end = EventStreamMessage::End;
Variants
Event(Event)
The message containing an Event
.
End
The message indicating the end of the EventStream
.
Trait Implementations
impl Eq for EventStreamMessage
[src]
impl PartialEq for EventStreamMessage
[src]
fn eq(&self, __arg_0: &EventStreamMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EventStreamMessage) -> bool
This method tests for !=
.
impl Debug for EventStreamMessage
[src]
impl Clone for EventStreamMessage
[src]
fn clone(&self) -> EventStreamMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more