pub struct AsyncTask {
pub id: u64,
pub label: String,
pub state: TaskState,
pub progress: f32,
}Fields§
§id: u64§label: String§state: TaskState§progress: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsyncTask
impl RefUnwindSafe for AsyncTask
impl Send for AsyncTask
impl Sync for AsyncTask
impl Unpin for AsyncTask
impl UnsafeUnpin for AsyncTask
impl UnwindSafe for AsyncTask
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