Enum eventsource::event::ParseResult [] [src]

pub enum ParseResult {
    Next,
    Dispatch,
    SetRetry(Duration),
}

Possible results from parsing a single event-stream line.

Variants

Line parsed successfully, but the event is not complete yet.

The event is complete now. Pass a new (empty) event for the next call.

Set retry time.

Trait Implementations

impl Debug for ParseResult
[src]

Formats the value using the given formatter.

impl PartialEq for ParseResult
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.