pub struct RefCount<T, C>(/* private fields */);
Trait Implementations§
Auto Trait Implementations§
impl<T, C> Freeze for RefCount<T, C>where
T: Freeze,
impl<T, C> RefUnwindSafe for RefCount<T, C>where
T: RefUnwindSafe,
C: RefUnwindSafe,
impl<T, C> Send for RefCount<T, C>where
T: Send,
impl<T, C> Sync for RefCount<T, C>where
T: Sync,
impl<T, C> Unpin for RefCount<T, C>where
T: Unpin,
impl<T, C> UnwindSafe for RefCount<T, C>where
T: UnwindSafe,
C: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'a, T> BoxClone<'a> for Twhere
T: BoxObservable<'a> + Clone + 'a,
impl<'a, T> BoxClone<'a> for Twhere
T: BoxObservable<'a> + Clone + 'a,
fn box_clone( &self, ) -> Box<dyn BoxClone<'a, Err = <T as BoxObservable<'a>>::Err, Item = <T as BoxObservable<'a>>::Item> + 'a>
Source§impl<'a, T> BoxObservable<'a> for Twhere
T: LocalObservable<'a> + 'a,
impl<'a, T> BoxObservable<'a> for Twhere
T: LocalObservable<'a> + 'a,
type Item = <T as Observable>::Item
type Err = <T as Observable>::Err
fn box_subscribe( self: Box<T>, subscriber: Subscriber<Box<dyn Observer<Err = <T as BoxObservable<'a>>::Err, Item = <T as BoxObservable<'a>>::Item> + 'a>, LocalSubscription>, ) -> Box<dyn SubscriptionLike>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
fn box_clone( &self, ) -> Box<dyn SharedBoxClone<Item = <T as SharedBoxObservable>::Item, Err = <T as SharedBoxObservable>::Err>>
Source§impl<'a, S, N, E, C> SubscribeAll<'a, N, E, C> for Swhere
S: LocalObservable<'a>,
N: FnMut(<S as Observable>::Item) + 'a,
E: FnMut(<S as Observable>::Err) + 'a,
<S as Observable>::Err: 'a,
<S as Observable>::Item: 'a,
C: FnMut() + 'a,
impl<'a, S, N, E, C> SubscribeAll<'a, N, E, C> for Swhere
S: LocalObservable<'a>,
N: FnMut(<S as Observable>::Item) + 'a,
E: FnMut(<S as Observable>::Err) + 'a,
<S as Observable>::Err: 'a,
<S as Observable>::Item: 'a,
C: FnMut() + 'a,
Source§type Unsub = <S as LocalObservable<'a>>::Unsub
type Unsub = <S as LocalObservable<'a>>::Unsub
A type implementing
SubscriptionLike
Source§fn subscribe_all(
self,
next: N,
error: E,
complete: C,
) -> SubscriptionWrapper<<S as SubscribeAll<'a, N, E, C>>::Unsub>
fn subscribe_all( self, next: N, error: E, complete: C, ) -> SubscriptionWrapper<<S as SubscribeAll<'a, N, E, C>>::Unsub>
Invokes an execution of an Observable and registers Observer handlers for
notifications it will emit. Read more
Source§impl<'a, S, N, C> SubscribeComplete<'a, N, C> for Swhere
S: LocalObservable<'a, Err = ()>,
C: FnMut() + 'a,
N: FnMut(<S as Observable>::Item) + 'a,
<S as Observable>::Item: 'a,
impl<'a, S, N, C> SubscribeComplete<'a, N, C> for Swhere
S: LocalObservable<'a, Err = ()>,
C: FnMut() + 'a,
N: FnMut(<S as Observable>::Item) + 'a,
<S as Observable>::Item: 'a,
Source§type Unsub = <S as LocalObservable<'a>>::Unsub
type Unsub = <S as LocalObservable<'a>>::Unsub
A type implementing
SubscriptionLike
Source§fn subscribe_complete(
self,
next: N,
complete: C,
) -> SubscriptionWrapper<<S as SubscribeComplete<'a, N, C>>::Unsub>where
<S as Observable>::Item: 'a,
fn subscribe_complete(
self,
next: N,
complete: C,
) -> SubscriptionWrapper<<S as SubscribeComplete<'a, N, C>>::Unsub>where
<S as Observable>::Item: 'a,
Invokes an execution of an Observable and registers Observer handlers for
notifications it will emit.
Source§impl<'a, S, N, E> SubscribeErr<'a, N, E> for Swhere
S: LocalObservable<'a>,
N: FnMut(<S as Observable>::Item) + 'a,
E: FnMut(<S as Observable>::Err) + 'a,
<S as Observable>::Err: 'a,
<S as Observable>::Item: 'a,
impl<'a, S, N, E> SubscribeErr<'a, N, E> for Swhere
S: LocalObservable<'a>,
N: FnMut(<S as Observable>::Item) + 'a,
E: FnMut(<S as Observable>::Err) + 'a,
<S as Observable>::Err: 'a,
<S as Observable>::Item: 'a,
Source§type Unsub = <S as LocalObservable<'a>>::Unsub
type Unsub = <S as LocalObservable<'a>>::Unsub
A type implementing
SubscriptionLike
Source§fn subscribe_err(
self,
next: N,
error: E,
) -> SubscriptionWrapper<<S as SubscribeErr<'a, N, E>>::Unsub>
fn subscribe_err( self, next: N, error: E, ) -> SubscriptionWrapper<<S as SubscribeErr<'a, N, E>>::Unsub>
Invokes an execution of an Observable and registers Observer handlers for
notifications it will emit. Read more
Source§impl<'a, S, N> SubscribeNext<'a, N> for Swhere
S: LocalObservable<'a, Err = ()>,
N: FnMut(<S as Observable>::Item) + 'a,
<S as Observable>::Item: 'a,
impl<'a, S, N> SubscribeNext<'a, N> for Swhere
S: LocalObservable<'a, Err = ()>,
N: FnMut(<S as Observable>::Item) + 'a,
<S as Observable>::Item: 'a,
Source§type Unsub = <S as LocalObservable<'a>>::Unsub
type Unsub = <S as LocalObservable<'a>>::Unsub
A type implementing
SubscriptionLike
Source§fn subscribe(
self,
next: N,
) -> SubscriptionWrapper<<S as SubscribeNext<'a, N>>::Unsub>
fn subscribe( self, next: N, ) -> SubscriptionWrapper<<S as SubscribeNext<'a, N>>::Unsub>
Invokes an execution of an Observable and registers Observer handlers for
notifications it will emit.