pub struct ToolProgress { /* private fields */ }Expand description
工具执行期间可发出的进度通道。异步工具的 progress 会被 check(id) 按增量读回;
同时也会推给 MessageChannel 供前端实时展示。
Implementations§
Trait Implementations§
Source§impl Clone for ToolProgress
impl Clone for ToolProgress
Source§fn clone(&self) -> ToolProgress
fn clone(&self) -> ToolProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolProgress
impl Default for ToolProgress
Source§fn default() -> ToolProgress
fn default() -> ToolProgress
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToolProgress
impl RefUnwindSafe for ToolProgress
impl Send for ToolProgress
impl Sync for ToolProgress
impl Unpin for ToolProgress
impl UnsafeUnpin for ToolProgress
impl UnwindSafe for ToolProgress
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