Enum eventsource_stream::EventStreamError
source ·
[−]pub enum EventStreamError<E> {
Utf8(FromUtf8Error),
Parser(NomError<String>),
Transport(E),
}
Expand description
Error thrown while parsing an event line
Variants
Utf8(FromUtf8Error)
Tuple Fields
Source stream is not valid UTF8
Parser(NomError<String>)
Source stream is not a valid EventStream
Transport(E)
Underlying source stream error
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.