pub struct Progress { /* private fields */ }Expand description
实时进度句柄,克隆共享同一份计数。
由 ScenarioManager 按场景创建并注入
RunnerConfig;手动构造 RunnerConfig
时填 None 即可,仅不显示进度,功能不受影响。
Trait 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