pub trait SubscribeNext<'a, N> {
type Unsub: SubscriptionLike;
// Required method
fn subscribe(self, next: N) -> SubscriptionWrapper<Self::Unsub>;
}Required Associated Types§
Sourcetype Unsub: SubscriptionLike
type Unsub: SubscriptionLike
A type implementing SubscriptionLike
Required Methods§
Sourcefn subscribe(self, next: N) -> SubscriptionWrapper<Self::Unsub>
fn subscribe(self, next: N) -> SubscriptionWrapper<Self::Unsub>
Invokes an execution of an Observable and registers Observer handlers for notifications it will emit.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".