pub struct HotObservable<T> { /* private fields */ }Expand description
A sequence of recorded notifications at absolute times, shared by its observers
(HotObservable<T>, ITestableObservable<T>).
Implementations§
Source§impl<T: Clone + 'static> HotObservable<T>
impl<T: Clone + 'static> HotObservable<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 HotObservable<T>
impl<T: Clone + 'static> IObservable<T> for HotObservable<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for HotObservable<T>
impl<T> !Send for HotObservable<T>
impl<T> !Sync for HotObservable<T>
impl<T> !UnwindSafe for HotObservable<T>
impl<T> Freeze for HotObservable<T>
impl<T> Unpin for HotObservable<T>
impl<T> UnsafeUnpin for HotObservable<T>where
Vec<Recorded<Notification<T>>>: UnsafeUnpin,
Rc<RefCell<Vec<Rc<dyn IObserver<T>>>>>: UnsafeUnpin,
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