Skip to main content

SubjectExt

Trait SubjectExt 

Source
pub trait SubjectExt<'or, T, E>: Sized {
    // Provided method
    fn into_observable(self) -> SubjectObservable<Self> { ... }
}

Provided Methods§

Source

fn into_observable(self) -> SubjectObservable<Self>

Converts a subject into an observable, erasing the observer behavior of the subject.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'or, T, E, S> SubjectExt<'or, T, E> for S
where S: Subject<'or, T, E>,