Module observable

Source

Re-exports§

pub use of::of;
pub use of::of_fn;
pub use of::of_option;
pub use of::of_result;
pub use interval::interval;
pub use interval::interval_at;
pub use timer::timer;
pub use timer::timer_at;
pub use from_fn::*;

Modules§

from_fn
interval
of
timer

Structs§

ConnectableObservable
DeferEmitter
EmptyEmitter
NeverEmitter
ObservableBase
ObserverAll
ObserverComp
ObserverErr
ObserverN
ThrowEmitter

Traits§

Emitter
LocalEmitter
LocalObservable
Observable
SubscribeAll
SubscribeComplete
SubscribeErr
SubscribeNext

Functions§

defer
Creates an observable that will on subscription defer to another observable that is supplied by a supplier-function which will be run once at each subscription
empty
Creates an observable that produces no values.
from_future
Converts a Future to an observable sequence. Even though if the future poll value has Result::Err type, also emit as a normal value, not trigger to error handle.
from_future_result
Converts a Future to an observable sequence like [from_future@from_future]. But only work for which Future::Output is Result type, and Result::Ok emit to next handle, and Result::Err as an error to handle.
from_iter
Creates an observable that produces values from an iterator.
never
Creates an observable that never emits anything.
repeat
Creates an observable producing same value repeated N times.
throw
Creates an observable that emits no items, just terminates with an error.

Type Aliases§

LocalConnectableObservable
SharedConnectableObservable