Skip to main content

EventStream

Type Alias EventStream 

Source
pub(super) type EventStream = Either<Empty<Result<Event, Error>>, Fuse<Subscription<Event>>>;

Aliased Type§

pub(super) enum EventStream {
    Left(Empty<Result<Event, Error>>),
    Right(Fuse<Subscription<Event>>),
}

Variants§

§

Left(Empty<Result<Event, Error>>)

First branch of the type

§

Right(Fuse<Subscription<Event>>)

Second branch of the type

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.