AnonymousObserver
struct · ferroui-reactive · v0.5.0
struct AnonymousObserver<T>
An observer made of functions (AnonymousObserver<T>). It ignores everything after a terminal
notification. Without a function for errors, an error panics, as upstream rethrows it.
Members
new
fn new(on_next: impl Fn(T) -> () + 'static, on_error: impl Fn(ObservableError) -> () + 'static, on_completed: impl Fn() -> () + 'static) -> Self
An observer of the three functions.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyIObserver<T>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.