pub type BookFeedEvent<A = ReceivedAt> = SnapshotFeedEvent<BookSnapshot<A>, FeedError>;Expand description
What happened on a book feed. See BookFeedStreams.
Aliased Type§
pub enum BookFeedEvent<A = ReceivedAt> {
Published(BookSnapshot<A>),
Withdrawn,
Ended(SnapshotFeedOutcome<FeedError>),
}Variants§
Published(BookSnapshot<A>)
The feed published a snapshot, replacing whatever it served before.
Withdrawn
The feed has nothing servable: what it served was withdrawn because nothing was refreshing it. Stop using its data until it publishes again.
Ended(SnapshotFeedOutcome<FeedError>)
The feed stopped, and how. Nothing follows it on that feed, which for a
SnapshotFeedStream means the stream is over and for a SnapshotFeedStreams means
that one label is: the set reads on until its last feed has ended.