Expand description
An Observer is a consumer of values delivered by an Observable. One for each
type of notification delivered by the Observable: next
, error
,
and complete
.
Item
the type of the elements being emitted.
Err
the type of the error may propagating.
sourceimpl<'a, Obs, Source, Discr, Key, Item, Err> Observer for GroupByObserver<Obs, Source, Discr, Key, Item> where
Obs: Observer<Item = GroupObservable<Source, Discr, Key>, Err = Err>,
Source: Observable + Clone,
Discr: FnMut(&Item) -> Key + Clone,
Key: Hash + Clone + Eq,
sourceimpl<InputItem, Err, Source, BinaryOp, OutputItem> Observer for ScanObserver<Source, BinaryOp, OutputItem, InputItem> where
Source: Observer<Item = OutputItem, Err = Err>,
BinaryOp: FnMut(OutputItem, InputItem) -> OutputItem,
OutputItem: Clone,
sourceimpl<Item, Err, N, E, C> Observer for ObserverAll<N, E, C, Item, Err> where
C: FnMut(),
N: FnMut(Item),
E: FnMut(Err),