pub struct ProgressableCell<D>(/* private fields */);
Expand description
Reactive Cell
with a progress tracking.
Subscription to changes works the same way as in Progressable
, but
working with an underlying data of ProgressableCell
is different in a
way allowing mutating and replacing it.
Implementations§
Source§impl<D> ProgressableCell<D>where
D: 'static,
impl<D> ProgressableCell<D>where
D: 'static,
Source§impl<D> ProgressableCell<D>where
D: Clone + 'static,
impl<D> ProgressableCell<D>where
D: Clone + 'static,
Sourcepub fn subscribe(&self) -> LocalBoxStream<'static, Guarded<D>>
pub fn subscribe(&self) -> LocalBoxStream<'static, Guarded<D>>
Returns Stream
into which the underlying data updates will be
emitted.
Sourcepub fn when_all_processed(&self) -> Processed<'static> ⓘ
pub fn when_all_processed(&self) -> Processed<'static> ⓘ
Returns Future
that will be resolved when all the underlying data
updates will be processed by all subscribers.
Trait Implementations§
Auto Trait Implementations§
impl<D> !Freeze for ProgressableCell<D>
impl<D> !RefUnwindSafe for ProgressableCell<D>
impl<D> !Send for ProgressableCell<D>
impl<D> !Sync for ProgressableCell<D>
impl<D> Unpin for ProgressableCell<D>where
D: Unpin,
impl<D> !UnwindSafe for ProgressableCell<D>
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