pub struct Progress {
pub message: String,
pub ratio: Option<f64>,
pub detail: Option<String>,
}Expand description
What a long operation reports.
Fields§
§message: StringWhat happens now.
ratio: Option<f64>How far along, from 0 to 1, when known.
detail: Option<String>Detail such as bytes downloaded.
Trait Implementations§
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Forget for Progress
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