Enum eventsource::event::ParseResult
[−]
[src]
pub enum ParseResult { Next, Dispatch, SetRetry(Duration), }
Possible results from parsing a single event-stream line.
Variants
Next
Line parsed successfully, but the event is not complete yet.
Dispatch
The event is complete now. Pass a new (empty) event for the next call.
SetRetry(Duration)
Set retry time.
Trait Implementations
impl Debug for ParseResult
[src]
impl PartialEq for ParseResult
[src]
fn eq(&self, __arg_0: &ParseResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseResult) -> bool
This method tests for !=
.