Struct dominator_helpers::futures::AsyncLoader
source · pub struct AsyncLoader { /* private fields */ }
Expand description
Makes it easier to run a future in the background with the ability to cancel and/or swap it
The status of the most-recent future can be gotten as a signal via is_loading()
Implementations§
Trait Implementations§
source§impl Clone for AsyncLoader
impl Clone for AsyncLoader
source§fn clone(&self) -> AsyncLoader
fn clone(&self) -> AsyncLoader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AsyncLoader
impl Default for AsyncLoader
Auto Trait Implementations§
impl RefUnwindSafe for AsyncLoader
impl Send for AsyncLoader
impl Sync for AsyncLoader
impl Unpin for AsyncLoader
impl UnwindSafe for AsyncLoader
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