pub struct ProgressUpdate<S> {
pub progress: Progress,
pub statuses: Vec<S>,
pub is_cancelled: bool,
}
Expand description
Data for a progress update event
Fields§
§progress: Progress
§statuses: Vec<S>
§is_cancelled: bool
Implementations§
Trait Implementations§
Source§impl<S: Clone> Clone for ProgressUpdate<S>
impl<S: Clone> Clone for ProgressUpdate<S>
Source§fn clone(&self) -> ProgressUpdate<S>
fn clone(&self) -> ProgressUpdate<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for ProgressUpdate<S>
impl<S> RefUnwindSafe for ProgressUpdate<S>where
S: RefUnwindSafe,
impl<S> Send for ProgressUpdate<S>where
S: Send,
impl<S> Sync for ProgressUpdate<S>where
S: Sync,
impl<S> Unpin for ProgressUpdate<S>where
S: Unpin,
impl<S> UnwindSafe for ProgressUpdate<S>where
S: UnwindSafe,
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