Struct hydro::core::progress::ProgressTracker
source · pub struct ProgressTracker { /* private fields */ }Implementations§
source§impl ProgressTracker
impl ProgressTracker
pub fn println(msg: &str)
pub fn with_group<'a, T, F: Future<Output = T>>( name: &str, f: impl FnOnce() -> F + 'a ) -> impl Future<Output = T> + 'a
pub fn leaf<T, F: Future<Output = T>>( name: String, f: F ) -> impl Future<Output = T>
pub fn rich_leaf<'a, T, F: Future<Output = T>>( name: 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 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