[−][src]Struct rxrust::subscriber::Subscriber
Implements the Observer trait and Subscription trait. While the Observer is the public API for consuming the values of an Observable, all Observers get converted to a Subscriber, in order to provide Subscription capabilities.
Implementations
impl<O> Subscriber<O, LocalSubscription>
[src]
impl<O> Subscriber<O, SharedSubscription>
[src]
Trait Implementations
impl<O: Clone, U: Clone> Clone for Subscriber<O, U>
[src]
fn clone(&self) -> Subscriber<O, U>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Item, Err, O, U> Observer<Item, Err> for Subscriber<O, U> where
O: Observer<Item, Err>,
U: SubscriptionLike,
[src]
O: Observer<Item, Err>,
U: SubscriptionLike,
fn next(&mut self, v: Item)
[src]
fn error(&mut self, err: Err)
[src]
fn complete(&mut self)
[src]
fn is_stopped(&self) -> bool
[src]
impl<O, U: SubscriptionLike> SubscriptionLike for Subscriber<O, U>
[src]
fn is_closed(&self) -> bool
[src]
fn unsubscribe(&mut self)
[src]
Auto Trait Implementations
impl<O, U> RefUnwindSafe for Subscriber<O, U> where
O: RefUnwindSafe,
U: RefUnwindSafe,
O: RefUnwindSafe,
U: RefUnwindSafe,
impl<O, U> Send for Subscriber<O, U> where
O: Send,
U: Send,
O: Send,
U: Send,
impl<O, U> Sync for Subscriber<O, U> where
O: Sync,
U: Sync,
O: Sync,
U: Sync,
impl<O, U> Unpin for Subscriber<O, U> where
O: Unpin,
U: Unpin,
O: Unpin,
U: Unpin,
impl<O, U> UnwindSafe for Subscriber<O, U> where
O: UnwindSafe,
U: UnwindSafe,
O: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Item, Err, T> Observer<Item, Err> for T where
T: InnerDerefMut,
<T as InnerDeref>::Target: Observer<Item, Err>,
[src]
T: InnerDerefMut,
<T as InnerDeref>::Target: Observer<Item, Err>,
fn next(&mut Self, Item)
[src]
fn error(&mut Self, Err)
[src]
fn complete(&mut Self)
[src]
fn is_stopped(&Self) -> bool
[src]
impl<Item, Err, T> Publisher<Item, Err> for T where
T: Observer<Item, Err> + SubscriptionLike,
[src]
T: Observer<Item, Err> + SubscriptionLike,
fn is_finished(&self) -> bool
[src]
impl<T> SubscriptionLike for T where
T: InnerDerefMut,
<T as InnerDeref>::Target: SubscriptionLike,
[src]
T: InnerDerefMut,
<T as InnerDeref>::Target: SubscriptionLike,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,