Struct hydro_deploy::progress::ProgressTracker
source · pub struct ProgressTracker { /* private fields */ }
Implementations§
source§impl ProgressTracker
impl ProgressTracker
pub fn println(msg: impl AsRef<str>)
pub fn with_group<'a, T, F: Future<Output = T>>( name: impl Into<String>, anticipated_total: Option<usize>, f: impl FnOnce() -> F + 'a, ) -> impl Future<Output = T> + 'a
pub fn leaf<T, F: Future<Output = T>>( name: impl Into<String>, f: F, ) -> impl Future<Output = T>
pub fn rich_leaf<'a, T, F: Future<Output = T>>( name: impl Into<String>, f: impl FnOnce(Box<dyn Fn(String) + Send + Sync>) -> F + 'a, ) -> impl Future<Output = T> + 'a
pub fn progress_leaf<'a, T, F: Future<Output = T>>( name: impl Into<String>, f: impl FnOnce(Box<dyn Fn(u64) + Send + Sync>, Box<dyn Fn(String) + Send + Sync>) -> F + 'a, ) -> impl Future<Output = T> + 'a
Auto Trait Implementations§
impl Freeze for ProgressTracker
impl RefUnwindSafe for ProgressTracker
impl Send for ProgressTracker
impl Sync for ProgressTracker
impl Unpin for ProgressTracker
impl UnwindSafe for ProgressTracker
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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