pub trait RxObserver: ObserverInput {
// Required methods
fn next(&mut self, next: Self::In);
fn error(&mut self, error: Self::InError);
fn complete(&mut self);
}Expand description
§RxObserver
§Signals & Channels
An RxObserver has three signal channels:
next: carries value signals (Self::In)error: carries the terminal error signal (Self::InError)complete: carries the terminal success signal
Exactly one of error or complete may occur, and it may occur at
most once.
It’s also possible that an observer observes no terminal signals if its
subscription was cancelled before it could. Some infinitely producing
observables (like interval) do not complete at all.
§Example
#[derive(RxObserver)]
#[rx_in(i32)]
#[rx_in_error(String)]
struct Print;
// Implemented by the derive
// impl ObserverInput for Print {
// type In = i32;
// type InError = String;
// }
impl RxObserver for Print {
fn next(&mut self, next: Self::In) {
println!("next: {next}");
}
fn error(&mut self, error: Self::InError) {
eprintln!("error: {error}");
}
fn complete(&mut self) {
println!("complete");
}
}Required Methods§
Implementations on Foreign Types§
Source§impl<Destination> RxObserver for Arc<Mutex<Destination>>
impl<Destination> RxObserver for Arc<Mutex<Destination>>
Source§impl<Destination> RxObserver for Arc<RwLock<Destination>>
impl<Destination> RxObserver for Arc<RwLock<Destination>>
Source§impl<Destination> RxObserver for Weak<Mutex<Destination>>
impl<Destination> RxObserver for Weak<Mutex<Destination>>
Source§impl<Destination> RxObserver for DematerializeSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for DematerializeSubscriber<Destination>where
Destination: Subscriber,
fn next( &mut self, notification: <DematerializeSubscriber<Destination> as ObserverInput>::In, )
fn error( &mut self, _error: <DematerializeSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for EndWithSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for EndWithSubscriber<Destination>where
Destination: Subscriber,
fn next(&mut self, next: <EndWithSubscriber<Destination> as ObserverInput>::In)
fn error( &mut self, error: <EndWithSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for ErrorBoundarySubscriber<Destination>where
Destination: Subscriber<InError = Infallible>,
impl<Destination> RxObserver for ErrorBoundarySubscriber<Destination>where
Destination: Subscriber<InError = Infallible>,
fn next( &mut self, next: <ErrorBoundarySubscriber<Destination> as ObserverInput>::In, )
fn error( &mut self, _error: <ErrorBoundarySubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for IdentitySubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for IdentitySubscriber<Destination>where
Destination: Subscriber,
fn next(&mut self, next: <IdentitySubscriber<Destination> as ObserverInput>::In)
fn error( &mut self, error: <IdentitySubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for LiftOptionSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for LiftOptionSubscriber<Destination>where
Destination: Subscriber,
fn next( &mut self, next: <LiftOptionSubscriber<Destination> as ObserverInput>::In, )
fn error( &mut self, error: <LiftOptionSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for MapNeverBothSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for MapNeverBothSubscriber<Destination>where
Destination: Subscriber,
fn next( &mut self, _next: <MapNeverBothSubscriber<Destination> as ObserverInput>::In, )
fn error( &mut self, _error: <MapNeverBothSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for MapNeverErrorSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for MapNeverErrorSubscriber<Destination>where
Destination: Subscriber,
fn next( &mut self, next: <MapNeverErrorSubscriber<Destination> as ObserverInput>::In, )
fn error( &mut self, _error: <MapNeverErrorSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for MapNeverNextSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for MapNeverNextSubscriber<Destination>where
Destination: Subscriber,
fn next( &mut self, _next: <MapNeverNextSubscriber<Destination> as ObserverInput>::In, )
fn error( &mut self, error: <MapNeverNextSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for SkipSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for SkipSubscriber<Destination>where
Destination: Subscriber,
fn next(&mut self, next: <SkipSubscriber<Destination> as ObserverInput>::In)
fn error( &mut self, error: <SkipSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination> RxObserver for TakeSubscriber<Destination>where
Destination: Subscriber,
impl<Destination> RxObserver for TakeSubscriber<Destination>where
Destination: Subscriber,
fn next(&mut self, next: <TakeSubscriber<Destination> as ObserverInput>::In)
fn error( &mut self, error: <TakeSubscriber<Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, O1, O2> RxObserver for CombineChangesSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (Change<<O1 as ObservableOutput>::Out>, Change<<O2 as ObservableOutput>::Out>)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
impl<Destination, O1, O2> RxObserver for CombineChangesSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (Change<<O1 as ObservableOutput>::Out>, Change<<O2 as ObservableOutput>::Out>)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
fn next( &mut self, next: <CombineChangesSubscriber<Destination, O1, O2> as ObserverInput>::In, )
fn error( &mut self, _error: <CombineChangesSubscriber<Destination, O1, O2> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, O1, O2> RxObserver for CombineLatestSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (<O1 as ObservableOutput>::Out, <O2 as ObservableOutput>::Out)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
impl<Destination, O1, O2> RxObserver for CombineLatestSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (<O1 as ObservableOutput>::Out, <O2 as ObservableOutput>::Out)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
fn next( &mut self, next: <CombineLatestSubscriber<Destination, O1, O2> as ObserverInput>::In, )
fn error( &mut self, _error: <CombineLatestSubscriber<Destination, O1, O2> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, O1, O2> RxObserver for JoinSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (<O1 as ObservableOutput>::Out, <O2 as ObservableOutput>::Out)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
impl<Destination, O1, O2> RxObserver for JoinSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (<O1 as ObservableOutput>::Out, <O2 as ObservableOutput>::Out)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
fn next( &mut self, next: <JoinSubscriber<Destination, O1, O2> as ObserverInput>::In, )
fn error( &mut self, _error: <JoinSubscriber<Destination, O1, O2> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, O1, O2> RxObserver for ZipSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (<O1 as ObservableOutput>::Out, <O2 as ObservableOutput>::Out)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
impl<Destination, O1, O2> RxObserver for ZipSubscriber<Destination, O1, O2>where
Destination: Subscriber<In = (<O1 as ObservableOutput>::Out, <O2 as ObservableOutput>::Out)>,
O1: 'static + Observable,
<O1 as ObservableOutput>::Out: Clone,
<O1 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
O2: 'static + Observable,
<O2 as ObservableOutput>::Out: Clone,
<O2 as ObservableOutput>::OutError: Into<<Destination as ObserverInput>::InError>,
fn next( &mut self, next: <ZipSubscriber<Destination, O1, O2> as ObserverInput>::In, )
fn error( &mut self, _error: <ZipSubscriber<Destination, O1, O2> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, S> RxObserver for DebounceTimeSubscriber<Destination, S>
impl<Destination, S> RxObserver for DebounceTimeSubscriber<Destination, S>
fn next( &mut self, next: <DebounceTimeSubscriber<Destination, S> as ObserverInput>::In, )
fn error( &mut self, error: <DebounceTimeSubscriber<Destination, S> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, S> RxObserver for DelaySubscriber<Destination, S>
impl<Destination, S> RxObserver for DelaySubscriber<Destination, S>
fn next(&mut self, next: <DelaySubscriber<Destination, S> as ObserverInput>::In)
fn error( &mut self, error: <DelaySubscriber<Destination, S> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, S> RxObserver for ObserveOnSubscriber<Destination, S>
impl<Destination, S> RxObserver for ObserveOnSubscriber<Destination, S>
fn next( &mut self, next: <ObserveOnSubscriber<Destination, S> as ObserverInput>::In, )
fn error( &mut self, error: <ObserveOnSubscriber<Destination, S> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Destination, S> RxObserver for ThrottleTimeSubscriber<Destination, S>
impl<Destination, S> RxObserver for ThrottleTimeSubscriber<Destination, S>
fn next( &mut self, next: <ThrottleTimeSubscriber<Destination, S> as ObserverInput>::In, )
fn error( &mut self, error: <ThrottleTimeSubscriber<Destination, S> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<Filter, Destination> RxObserver for FilterSubscriber<Filter, Destination>where
Filter: for<'a> Fn(&'a <Destination as ObserverInput>::In, usize) -> bool + Send + Sync,
Destination: Subscriber,
impl<Filter, Destination> RxObserver for FilterSubscriber<Filter, Destination>where
Filter: for<'a> Fn(&'a <Destination as ObserverInput>::In, usize) -> bool + Send + Sync,
Destination: Subscriber,
fn next( &mut self, next: <FilterSubscriber<Filter, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <FilterSubscriber<Filter, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, Destination> RxObserver for BufferCountSubscriber<In, Destination>
impl<In, Destination> RxObserver for BufferCountSubscriber<In, Destination>
fn next( &mut self, next: <BufferCountSubscriber<In, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <BufferCountSubscriber<In, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, Destination> RxObserver for EnumerateSubscriber<In, Destination>
impl<In, Destination> RxObserver for EnumerateSubscriber<In, Destination>
fn next( &mut self, next: <EnumerateSubscriber<In, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <EnumerateSubscriber<In, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, Destination> RxObserver for IsEmptySubscriber<In, Destination>
impl<In, Destination> RxObserver for IsEmptySubscriber<In, Destination>
fn next( &mut self, _next: <IsEmptySubscriber<In, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <IsEmptySubscriber<In, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, Destination> RxObserver for PairwiseSubscriber<In, Destination>
impl<In, Destination> RxObserver for PairwiseSubscriber<In, Destination>
fn next( &mut self, next: <PairwiseSubscriber<In, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <PairwiseSubscriber<In, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, ErrorDestination> RxObserver for WithLatestFromInnerDestination<In, ErrorDestination>where
In: Signal,
ErrorDestination: 'static + Subscriber,
impl<In, ErrorDestination> RxObserver for WithLatestFromInnerDestination<In, ErrorDestination>where
In: Signal,
ErrorDestination: 'static + Subscriber,
fn next( &mut self, next: <WithLatestFromInnerDestination<In, ErrorDestination> as ObserverInput>::In, )
fn error( &mut self, error: <WithLatestFromInnerDestination<In, ErrorDestination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, Destination> RxObserver for CountSubscriber<In, InError, Destination>
impl<In, InError, Destination> RxObserver for CountSubscriber<In, InError, Destination>
fn next( &mut self, _next: <CountSubscriber<In, InError, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <CountSubscriber<In, InError, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, Destination> RxObserver for ElementAtSubscriber<In, InError, Destination>where
In: Signal,
InError: Signal,
Destination: Subscriber<In = In, InError = ElementAtOperatorError<InError>>,
impl<In, InError, Destination> RxObserver for ElementAtSubscriber<In, InError, Destination>where
In: Signal,
InError: Signal,
Destination: Subscriber<In = In, InError = ElementAtOperatorError<InError>>,
fn next( &mut self, next: <ElementAtSubscriber<In, InError, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <ElementAtSubscriber<In, InError, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, Destination> RxObserver for IntoResultSubscriber<In, InError, Destination>
impl<In, InError, Destination> RxObserver for IntoResultSubscriber<In, InError, Destination>
fn next( &mut self, next: <IntoResultSubscriber<In, InError, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <IntoResultSubscriber<In, InError, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, Destination> RxObserver for MaterializeSubscriber<In, InError, Destination>where
In: Signal,
InError: Signal,
Destination: Subscriber<In = ObserverNotification<In, InError>, InError = Infallible>,
impl<In, InError, Destination> RxObserver for MaterializeSubscriber<In, InError, Destination>where
In: Signal,
InError: Signal,
Destination: Subscriber<In = ObserverNotification<In, InError>, InError = Infallible>,
fn next( &mut self, next: <MaterializeSubscriber<In, InError, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <MaterializeSubscriber<In, InError, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, ErrorMapper, OutError, Destination> RxObserver for MapErrorSubscriber<In, InError, ErrorMapper, OutError, Destination>
impl<In, InError, ErrorMapper, OutError, Destination> RxObserver for MapErrorSubscriber<In, InError, ErrorMapper, OutError, Destination>
fn next( &mut self, next: <MapErrorSubscriber<In, InError, ErrorMapper, OutError, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <MapErrorSubscriber<In, InError, ErrorMapper, OutError, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, Fallback, Destination, S> RxObserver for FallbackWhenSilentSubscriber<In, InError, Fallback, Destination, S>where
In: Signal,
InError: Signal,
Fallback: 'static + Fn(<S as WithWorkInputOutput>::Tick, &mut <<S as WithWorkContextProvider>::WorkContextProvider as WorkContextProvider>::Item<'_>, usize) -> In + Send + Sync,
Destination: Subscriber<In = In, InError = InError>,
S: Scheduler,
impl<In, InError, Fallback, Destination, S> RxObserver for FallbackWhenSilentSubscriber<In, InError, Fallback, Destination, S>where
In: Signal,
InError: Signal,
Fallback: 'static + Fn(<S as WithWorkInputOutput>::Tick, &mut <<S as WithWorkContextProvider>::WorkContextProvider as WorkContextProvider>::Item<'_>, usize) -> In + Send + Sync,
Destination: Subscriber<In = In, InError = InError>,
S: Scheduler,
fn next( &mut self, next: <FallbackWhenSilentSubscriber<In, InError, Fallback, Destination, S> as ObserverInput>::In, )
fn error( &mut self, error: <FallbackWhenSilentSubscriber<In, InError, Fallback, Destination, S> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, HigherOrderSubscriber, ErrorMapper, Destination> RxObserver for HigherOrderAllSubscriber<In, InError, HigherOrderSubscriber, ErrorMapper, Destination>where
In: Signal + Observable,
InError: Signal,
HigherOrderSubscriber: HigherOrderSubscriberProvider,
ErrorMapper: 'static + FnOnce(InError) -> <In as ObservableOutput>::OutError + Send + Sync,
Destination: 'static + Subscriber<In = <In as ObservableOutput>::Out, InError = <In as ObservableOutput>::OutError>,
impl<In, InError, HigherOrderSubscriber, ErrorMapper, Destination> RxObserver for HigherOrderAllSubscriber<In, InError, HigherOrderSubscriber, ErrorMapper, Destination>where
In: Signal + Observable,
InError: Signal,
HigherOrderSubscriber: HigherOrderSubscriberProvider,
ErrorMapper: 'static + FnOnce(InError) -> <In as ObservableOutput>::OutError + Send + Sync,
Destination: 'static + Subscriber<In = <In as ObservableOutput>::Out, InError = <In as ObservableOutput>::OutError>,
Source§fn error(
&mut self,
error: <HigherOrderAllSubscriber<In, InError, HigherOrderSubscriber, ErrorMapper, Destination> as ObserverInput>::InError,
)
fn error( &mut self, error: <HigherOrderAllSubscriber<In, InError, HigherOrderSubscriber, ErrorMapper, Destination> as ObserverInput>::InError, )
For upstream errors
fn next( &mut self, next: <HigherOrderAllSubscriber<In, InError, HigherOrderSubscriber, ErrorMapper, Destination> as ObserverInput>::In, )
fn complete(&mut self)
Source§impl<In, InError, InnerObservable, ErrorMapper, Destination> RxObserver for CatchSubscriber<In, InError, InnerObservable, ErrorMapper, Destination>where
In: Signal,
InError: Signal,
InnerObservable: Observable<Out = In> + Signal,
ErrorMapper: 'static + FnOnce(InError) -> InnerObservable + Send + Sync,
Destination: 'static + Subscriber<In = In, InError = <InnerObservable as ObservableOutput>::OutError>,
impl<In, InError, InnerObservable, ErrorMapper, Destination> RxObserver for CatchSubscriber<In, InError, InnerObservable, ErrorMapper, Destination>where
In: Signal,
InError: Signal,
InnerObservable: Observable<Out = In> + Signal,
ErrorMapper: 'static + FnOnce(InError) -> InnerObservable + Send + Sync,
Destination: 'static + Subscriber<In = In, InError = <InnerObservable as ObservableOutput>::OutError>,
fn next( &mut self, next: <CatchSubscriber<In, InError, InnerObservable, ErrorMapper, Destination> as ObserverInput>::In, )
fn error( &mut self, error: <CatchSubscriber<In, InError, InnerObservable, ErrorMapper, Destination> as ObserverInput>::InError, )
fn complete(&mut self)
Source§impl<In, InError, Mapper, InnerObservable, HigherOrderSubscriber, ErrorMapper, Destination> RxObserver for HigherOrderMapSubscriber<In, InError, Mapper, InnerObservable, HigherOrderSubscriber, ErrorMapper, Destination>where
In: Signal,
InError: Signal,
Mapper: FnMut(In) -> InnerObservable,
InnerObservable: Observable + Signal,
HigherOrderSubscriber: HigherOrderSubscriberProvider,
ErrorMapper: 'static + FnOnce(InError) -> <InnerObservable as ObservableOutput>::OutError + Send + Sync,
Destination: 'static + Subscriber<In = <InnerObservable as ObservableOutput>::Out, InError = <InnerObservable as ObservableOutput>::OutError>,
impl<In, InError, Mapper, InnerObservable, HigherOrderSubscriber, ErrorMapper, Destination> RxObserver for HigherOrderMapSubscriber<In, InError, Mapper, InnerObservable, HigherOrderSubscriber, ErrorMapper, Destination>where
In: Signal,
InError: Signal,
Mapper: FnMut(In) -> InnerObservable,
InnerObservable: Observable + Signal,
HigherOrderSubscriber: HigherOrderSubscriberProvider,
ErrorMapper: 'static + FnOnce(InError) -> <InnerObservable as ObservableOutput>::OutError + Send + Sync,
Destination: 'static + Subscriber<In = <InnerObservable as ObservableOutput>::Out, InError = <InnerObservable as ObservableOutput>::OutError>,
Source§fn error(
&mut self,
error: <HigherOrderMapSubscriber<In, InError, Mapper, InnerObservable, HigherOrderSubscriber, ErrorMapper, Destination> as ObserverInput>::InError,
)
fn error( &mut self, error: <HigherOrderMapSubscriber<In, InError, Mapper, InnerObservable, HigherOrderSubscriber, ErrorMapper, Destination> as ObserverInput>::InError, )
For upstream errors