pub struct Progress {
pub done: AtomicUsize,
pub total: AtomicUsize,
pub cancel: AtomicBool,
}Expand description
A long measurement’s progress, read from another thread: measurements done, measurements planned so far (the
refinement adds to them), and a switch that stops it (velocity_loop_responses then answers cancelled).
Fields§
§done: AtomicUsize§total: AtomicUsize§cancel: AtomicBoolTrait Implementations§
Auto Trait Implementations§
impl !Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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