pub struct ColdObservable<T> { /* private fields */ }Expand description
A sequence of recorded notifications at times relative to each subscription
(ColdObservable<T>, ITestableObservable<T>).
Implementations§
Source§impl<T: Clone + 'static> ColdObservable<T>
impl<T: Clone + 'static> ColdObservable<T>
Sourcepub fn subscriptions(&self) -> Vec<Subscription>
pub fn subscriptions(&self) -> Vec<Subscription>
The subscriptions made to the sequence (Subscriptions).
Sourcepub fn messages(&self) -> Vec<Recorded<Notification<T>>>
pub fn messages(&self) -> Vec<Recorded<Notification<T>>>
The notifications of the sequence (Messages).
Sourcepub fn as_observable(self: &Rc<Self>) -> Rc<dyn IObservable<T>>
pub fn as_observable(self: &Rc<Self>) -> Rc<dyn IObservable<T>>
The sequence as the handle operators take.
Trait Implementations§
Source§impl<T: Clone + 'static> IObservable<T> for ColdObservable<T>
impl<T: Clone + 'static> IObservable<T> for ColdObservable<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for ColdObservable<T>
impl<T> !Send for ColdObservable<T>
impl<T> !Sync for ColdObservable<T>
impl<T> !UnwindSafe for ColdObservable<T>
impl<T> Freeze for ColdObservable<T>
impl<T> Unpin for ColdObservable<T>
impl<T> UnsafeUnpin for ColdObservable<T>
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