pub struct ProgressTask { /* private fields */ }Implementationsยง
Sourceยงimpl ProgressTask
impl ProgressTask
pub fn new(progress_bar: ProgressBar, task_name: String) -> ProgressTask
pub fn set_status(&self, status: &str) -> Result<()>
pub fn set_success(&self, status: &str) -> Result<()>
pub fn set_failed(&self, status: &str) -> Result<()>
Auto Trait Implementationsยง
impl Freeze for ProgressTask
impl RefUnwindSafe for ProgressTask
impl Send for ProgressTask
impl Sync for ProgressTask
impl Unpin for ProgressTask
impl UnsafeUnpin for ProgressTask
impl UnwindSafe for ProgressTask
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more