pub enum BarTree {
Root(Vec<BarTree>),
Group(String, Arc<ProgressBar>, Vec<BarTree>, Option<usize>),
Leaf(String, Arc<ProgressBar>, LeafStatus),
Finished,
}Variants§
Root(Vec<BarTree>)
Group(String, Arc<ProgressBar>, Vec<BarTree>, Option<usize>)
Leaf(String, Arc<ProgressBar>, LeafStatus)
Finished
Trait Implementations§
Auto Trait Implementations§
impl Forget for BarTree
impl Freeze for BarTreewhere
*const u8 is !null: Freeze,
PhantomData<BarTree>: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<ProgressBar> is !null: Freeze,
PhantomData<ArcInner<ProgressBar>>: Freeze,
impl Move for BarTree
impl RefUnwindSafe for BarTreewhere
Atomic<usize>: RefUnwindSafe,
Mutex<BarState>: RefUnwindSafe,
AtomicU64: RefUnwindSafe,
AtomicU8: RefUnwindSafe,
Mutex<Option<Ticker>>: RefUnwindSafe,
impl Send for BarTree
impl Sync for BarTree
impl Unpin for BarTree
impl UnsafeUnpin for BarTreewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<BarTree>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<ProgressBar> is !null: UnsafeUnpin,
PhantomData<ArcInner<ProgressBar>>: UnsafeUnpin,
impl UnwindSafe for BarTree
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> ⓘ
§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].