Skip to main content

ServerEventStream

Type Alias ServerEventStream 

Source
pub type ServerEventStream = BoxStream<Result<ServerEvent>>;
Expand description

Typed server events. Each item is an event, or an error for an event that could not be read (the stream goes on) or for a broken connection (the stream ends).

Aliased Typeยง

#[repr(transparent)]
pub struct ServerEventStream { /* private fields */ }