pub struct ErasedObservable<Out, OutError>{ /* private fields */ }Implementations§
Source§impl<Out, OutError> ErasedObservable<Out, OutError>
impl<Out, OutError> ErasedObservable<Out, OutError>
Trait Implementations§
Source§impl<Out, OutError> Clone for ErasedObservable<Out, OutError>
impl<Out, OutError> Clone for ErasedObservable<Out, OutError>
Source§impl<Out, OutError> Observable for ErasedObservable<Out, OutError>
impl<Out, OutError> Observable for ErasedObservable<Out, OutError>
Source§type Subscription<Destination> = SubscriptionData
where
Destination: 'static + Subscriber<In = Self::Out, InError = Self::OutError>
type Subscription<Destination> = SubscriptionData where Destination: 'static + Subscriber<In = Self::Out, InError = Self::OutError>
The subscription produced by this Observable. As this is the only kind
of subscription that is handled directly by users, only here are
subscriptions required to implement Drop to ensure resources
are released when the subscription is dropped.
Source§fn subscribe<Destination>(
&mut self,
destination: Destination,
) -> Self::Subscription<Destination::Upgraded>where
Destination: 'static + UpgradeableObserver<In = Self::Out, InError = Self::OutError> + Send + Sync,
fn subscribe<Destination>(
&mut self,
destination: Destination,
) -> Self::Subscription<Destination::Upgraded>where
Destination: 'static + UpgradeableObserver<In = Self::Out, InError = Self::OutError> + Send + Sync,
Create a Subscription for this Observable. This action allocates
resources to execute the behavior this Observable defines,
essentially creating an instance of it. Read more
Source§impl<Out, OutError> ObservableOutput for ErasedObservable<Out, OutError>
impl<Out, OutError> ObservableOutput for ErasedObservable<Out, OutError>
Source§impl<Out, OutError> WithPrimaryCategory for ErasedObservable<Out, OutError>
impl<Out, OutError> WithPrimaryCategory for ErasedObservable<Out, OutError>
Auto Trait Implementations§
impl<Out, OutError> Freeze for ErasedObservable<Out, OutError>
impl<Out, OutError> RefUnwindSafe for ErasedObservable<Out, OutError>
impl<Out, OutError> Send for ErasedObservable<Out, OutError>
impl<Out, OutError> Sync for ErasedObservable<Out, OutError>
impl<Out, OutError> Unpin for ErasedObservable<Out, OutError>
impl<Out, OutError> UnwindSafe for ErasedObservable<Out, OutError>
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