SYMBOL INDEX (527 symbols across 36 files) FILE: benches/usage.rs function usage (line 9) | fn usage(c: &mut Criterion) { FILE: examples/dashboard.rs function main (line 10) | fn main() -> Result { function work_forever (line 17) | async fn work_forever(mut args: args::Options) -> Result { function work_item (line 97) | async fn work_item(mut progress: Item, speed: f32, changing_names: bool) { function new_chunk_of_work (line 147) | async fn new_chunk_of_work(max: NestingLevel, tree: Arc, speed: f3... type NestingLevel (line 181) | struct NestingLevel(u8); type Result (line 182) | type Result = std::result::Result<(), Box>; constant WORK_STEPS_NEEDED_FOR_UNBOUNDED_TASK (line 201) | const WORK_STEPS_NEEDED_FOR_UNBOUNDED_TASK: u8 = 100; constant UNITS (line 202) | const UNITS: &[&str] = &["Mb", "kb", "items", "files"]; constant REASONS (line 203) | const REASONS: &[&str] = &["due to star alignment", "IO takes time", "仪表... constant WORK_NAMES (line 204) | const WORK_NAMES: &[&str] = &[ constant DONE_MESSAGES (line 218) | const DONE_MESSAGES: &[&str] = &[ constant FAIL_MESSAGES (line 226) | const FAIL_MESSAGES: &[&str] = &[ constant INFO_MESSAGES (line 234) | const INFO_MESSAGES: &[&str] = &[ constant SHORT_DELAY_MS (line 242) | const SHORT_DELAY_MS: u64 = 50; constant WORK_DELAY_MS (line 243) | const WORK_DELAY_MS: u64 = 100; constant LONG_WORK_DELAY_MS (line 244) | const LONG_WORK_DELAY_MS: u64 = 2000; constant SPAWN_DELAY_MS (line 245) | const SPAWN_DELAY_MS: u64 = 200; constant CHANCE_TO_BLOCK_PER_STEP (line 246) | const CHANCE_TO_BLOCK_PER_STEP: f64 = 1.0 / 100.0; constant CHANCE_TO_SHOW_ETA (line 247) | const CHANCE_TO_SHOW_ETA: f64 = 0.5; FILE: examples/shared/args.rs type Options (line 5) | pub struct Options { FILE: examples/shared/mod.rs type Direction (line 17) | enum Direction { constant TITLES (line 22) | const TITLES: &[&str] = &[" Dashboard Demo ", " 仪表板演示 "]; function launch_ambient_gui (line 24) | pub fn launch_ambient_gui( function generate_statistics (line 101) | fn generate_statistics() -> Vec { function window_resize_stream (line 141) | fn window_resize_stream(animate: bool) -> impl futures_core::Stream(future: impl Future + Send +... FILE: examples/units.rs function main (line 13) | fn main() -> Result { function work_for_a_long_time_blocking (line 29) | fn work_for_a_long_time_blocking(root: Arc) { type Result (line 116) | type Result = std::result::Result<(), Box>; FILE: src/messages.rs type MessageLevel (line 5) | pub enum MessageLevel { type Message (line 18) | pub struct Message { type MessageRingBuffer (line 31) | pub struct MessageRingBuffer { method with_capacity (line 39) | pub fn with_capacity(capacity: usize) -> MessageRingBuffer { method push_overwrite (line 48) | pub fn push_overwrite(&mut self, level: MessageLevel, origin: String, ... method copy_all (line 65) | pub fn copy_all(&self, out: &mut Vec) { method copy_new (line 78) | pub fn copy_new(&self, out: &mut Vec, previous: Option bool { type MessageCopyState (line 122) | pub struct MessageCopyState { FILE: src/progress/key.rs type Level (line 9) | pub type Level = u8; type Id (line 11) | pub(crate) type Id = u16; type Key (line 15) | pub struct Key(Option, Option, Option, Option, Option Key { method level (line 125) | pub fn level(&self) -> Level { method get (line 139) | fn get(&self, level: Level) -> Option<&Id> { method shares_parent_with (line 152) | pub fn shares_parent_with(&self, other: &Key, parent_level: Level) -> ... method adjacency (line 172) | pub fn adjacency(sorted: &[(Key, Task)], index: usize) -> Adjacency { method max_level (line 245) | pub const fn max_level() -> Level { type Output (line 251) | type Output = Id; method index (line 253) | fn index(&self, index: Level) -> &Self::Output { type SiblingLocation (line 20) | pub enum SiblingLocation { method merge (line 29) | fn merge(&mut self, other: SiblingLocation) { type Adjacency (line 46) | pub struct Adjacency( method level (line 57) | pub fn level(&self) -> Level { method get (line 70) | pub fn get(&self, level: Level) -> Option<&SiblingLocation> { method get_mut (line 82) | pub fn get_mut(&mut self, level: Level) -> Option<&mut SiblingLocation> { type Output (line 96) | type Output = SiblingLocation; method index (line 97) | fn index(&self, index: Level) -> &Self::Output { method index_mut (line 103) | fn index_mut(&mut self, index: Level) -> &mut Self::Output { FILE: src/progress/log.rs type Log (line 19) | pub struct Log { method new (line 35) | pub fn new(name: impl Into, max_level: Option) -> Self { method maybe_log (line 61) | fn maybe_log(&self) { constant EMIT_LOG_EVERY_S (line 30) | const EMIT_LOG_EVERY_S: f32 = 0.5; constant SEP (line 31) | const SEP: &str = "::"; method set (line 77) | fn set(&self, step: Step) { method step (line 82) | fn step(&self) -> usize { method inc_by (line 86) | fn inc_by(&self, step: Step) { method counter (line 91) | fn counter(&self) -> StepShared { method init (line 97) | fn init(&mut self, max: Option, unit: Option) { method unit (line 101) | fn unit(&self) -> Option { method max (line 105) | fn max(&self) -> Option { method set_max (line 109) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 115) | fn set_name(&mut self, name: String) { method name (line 124) | fn name(&self) -> Option { method id (line 128) | fn id(&self) -> Id { method message (line 132) | fn message(&self, level: MessageLevel, message: String) { type SubProgress (line 142) | type SubProgress = Log; method add_child (line 144) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress { method add_child_with_id (line 148) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Self... FILE: src/progress/mod.rs type Id (line 30) | pub type Id = [u8; 4]; constant UNKNOWN (line 35) | pub const UNKNOWN: Id = *b"\0\0\0\0"; type Step (line 38) | pub type Step = usize; type AtomicStep (line 41) | pub type AtomicStep = AtomicUsize; type StepShared (line 44) | pub type StepShared = Arc; type State (line 48) | pub enum State { type Value (line 62) | pub struct Value { method hash (line 76) | fn hash(&self, state: &mut H) { method fraction (line 94) | pub fn fraction(&self) -> Option { type Task (line 102) | pub struct Task { FILE: src/progress/utils.rs type Discard (line 6) | pub struct Discard; method set (line 9) | fn set(&self, _step: usize) {} method step (line 11) | fn step(&self) -> usize { method inc_by (line 15) | fn inc_by(&self, _step: usize) {} method counter (line 17) | fn counter(&self) -> StepShared { method init (line 23) | fn init(&mut self, _max: Option, _unit: Option) {} method set_max (line 25) | fn set_max(&mut self, _max: Option) -> Option { method set_name (line 28) | fn set_name(&mut self, _name: String) {} method name (line 30) | fn name(&self) -> Option { method id (line 34) | fn id(&self) -> Id { method message (line 38) | fn message(&self, _level: MessageLevel, _message: String) {} type SubProgress (line 42) | type SubProgress = Self; method add_child (line 44) | fn add_child(&mut self, _name: impl Into) -> Self { method add_child_with_id (line 48) | fn add_child_with_id(&mut self, _name: impl Into, _id: Id) -> Se... type Either (line 59) | pub enum Either { method set (line 69) | fn set(&self, step: usize) { method step (line 75) | fn step(&self) -> usize { method inc_by (line 81) | fn inc_by(&self, step: usize) { method counter (line 87) | fn counter(&self) -> StepShared { method init (line 100) | fn init(&mut self, max: Option, unit: Option) { method unit (line 107) | fn unit(&self) -> Option { method max (line 114) | fn max(&self) -> Option { method set_max (line 121) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 128) | fn set_name(&mut self, name: String) { method name (line 135) | fn name(&self) -> Option { method id (line 142) | fn id(&self) -> Id { method message (line 149) | fn message(&self, level: MessageLevel, message: String) { type SubProgress (line 162) | type SubProgress = Either; method add_child (line 164) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress { method add_child_with_id (line 171) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Self... type DoOrDiscard (line 180) | pub struct DoOrDiscard(Either); function from (line 186) | fn from(p: Option) -> Self { function into_inner (line 196) | pub fn into_inner(self) -> Option { function take (line 204) | pub fn take(&mut self) -> Option { method set (line 217) | fn set(&self, step: usize) { method step (line 220) | fn step(&self) -> usize { method inc_by (line 224) | fn inc_by(&self, step: usize) { method counter (line 228) | fn counter(&self) -> StepShared { method init (line 237) | fn init(&mut self, max: Option, unit: Option) { method unit (line 241) | fn unit(&self) -> Option { method max (line 245) | fn max(&self) -> Option { method set_max (line 249) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 253) | fn set_name(&mut self, name: String) { method name (line 257) | fn name(&self) -> Option { method id (line 261) | fn id(&self) -> Id { method message (line 265) | fn message(&self, level: MessageLevel, message: String) { type SubProgress (line 274) | type SubProgress = DoOrDiscard; method add_child (line 276) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress { method add_child_with_id (line 280) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Self... type ThroughputOnDrop (line 290) | pub struct ThroughputOnDrop(T, Instant); function new (line 294) | pub fn new(inner: T) -> Self { method set (line 300) | fn set(&self, step: usize) { method step (line 304) | fn step(&self) -> usize { method inc_by (line 308) | fn inc_by(&self, step: usize) { method counter (line 312) | fn counter(&self) -> StepShared { method init (line 318) | fn init(&mut self, max: Option, unit: Option) { method unit (line 322) | fn unit(&self) -> Option { method max (line 326) | fn max(&self) -> Option { method set_max (line 330) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 334) | fn set_name(&mut self, name: String) { method name (line 338) | fn name(&self) -> Option { method id (line 342) | fn id(&self) -> Id { method message (line 346) | fn message(&self, level: MessageLevel, message: String) { type SubProgress (line 352) | type SubProgress = ThroughputOnDrop; method add_child (line 354) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress { method add_child_with_id (line 358) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Self... method drop (line 364) | fn drop(&mut self) { FILE: src/render/line/draw.rs type State (line 22) | pub struct State { method update_from_progress (line 37) | pub(crate) fn update_from_progress(&mut self, progress: &impl Root) ->... method clear (line 50) | pub(crate) fn clear(&mut self) { type Options (line 57) | pub struct Options { function messages (line 67) | fn messages( function all (line 133) | pub fn all(out: &mut impl io::Write, show_progress: bool, state: &mut St... function newline_with_overdraw (line 209) | fn newline_with_overdraw( function block_count_sans_ansi_codes (line 229) | fn block_count_sans_ansi_codes(strings: &[AnsiString<'_>]) -> u16 { function draw_progress_bar (line 233) | fn draw_progress_bar(p: &Value, style: Style, mut blocks_available: u16,... function progress_style (line 268) | fn progress_style(p: &Value) -> Style { function format_progress (line 286) | fn format_progress<'a>( FILE: src/render/line/engine.rs type Options (line 14) | pub struct Options { method auto_configure (line 86) | pub fn auto_configure(mut self, output: StreamKind) -> Self { method auto_hide_cursor (line 98) | fn auto_hide_cursor(&mut self) { method auto_configure (line 103) | pub fn auto_configure(self, _output: StreamKind) -> Self { type StreamKind (line 70) | pub enum StreamKind { method default (line 109) | fn default() -> Self { type JoinHandle (line 126) | pub struct JoinHandle { method detach (line 135) | pub fn detach(mut self) { method disconnect (line 142) | pub fn disconnect(&mut self) { method forget (line 146) | pub fn forget(&mut self) { method wait (line 150) | pub fn wait(mut self) { method shutdown (line 154) | pub fn shutdown(&mut self) { method shutdown_and_wait (line 161) | pub fn shutdown_and_wait(mut self) { method drop (line 168) | fn drop(&mut self) { type Event (line 175) | enum Event { function render (line 185) | pub fn render( function possibly_hide_cursor (line 328) | fn possibly_hide_cursor(out: &mut impl io::Write, mut hide_cursor: bool)... FILE: src/render/tui/draw/all.rs type State (line 23) | pub struct State { function all (line 39) | pub(crate) fn all( function compute_pane_bounds (line 103) | fn compute_pane_bounds(messages: &[Message], inner: Rect, messages_fulls... function compute_info_bound (line 135) | fn compute_info_bound(bound: Rect, info: &[Line], maximize: bool) -> (Re... FILE: src/render/tui/draw/information.rs function pane (line 14) | pub fn pane(lines: &[Line], bound: Rect, buf: &mut Buffer) { FILE: src/render/tui/draw/messages.rs function pane (line 18) | pub fn pane(messages: &[Message], bound: Rect, overflow_bound: Rect, off... constant LEVEL_TEXT_WIDTH (line 95) | const LEVEL_TEXT_WIDTH: u16 = 4; function format_level_column (line 96) | fn format_level_column(level: MessageLevel) -> &'static str { function level_to_style (line 105) | fn level_to_style(level: MessageLevel) -> Style { function format_time_column (line 117) | fn format_time_column(time: &SystemTime) -> String { function compute_bounds (line 121) | fn compute_bounds(line: Rect, max_origin_width: u16) -> (Option, O... FILE: src/render/tui/draw/progress.rs constant MIN_TREE_WIDTH (line 24) | const MIN_TREE_WIDTH: u16 = 20; function pane (line 26) | pub fn pane(entries: &[(Key, progress::Task)], mut bound: Rect, buf: &mu... function headline (line 92) | pub(crate) fn headline( type ProgressFormat (line 141) | struct ProgressFormat<'a>(&'a Option, u16, Option) -> fmt::Result { function has_child (line 162) | fn has_child(entries: &[(Key, Task)], index: usize) -> bool { function draw_progress (line 173) | pub fn draw_progress( function add_block_eta (line 291) | fn add_block_eta(state: progress::State, progress_text: &mut String) { function draw_spinner (line 320) | fn draw_spinner(buf: &mut Buffer, bound: Rect, step: Step, seed: usize, ... function draw_progress_bar_fn (line 330) | fn draw_progress_bar_fn( function draw_tree (line 375) | pub fn draw_tree(entries: &[(Key, Task)], buf: &mut Buffer, bound: Rect,... function level_prefix (line 400) | fn level_prefix(entries: &[(Key, Task)], entry_index: usize) -> String { function draw_overflow (line 453) | pub fn draw_overflow( FILE: src/render/tui/engine.rs type Options (line 16) | pub struct Options { method default (line 52) | fn default() -> Self { type Line (line 66) | pub enum Line { type Interrupt (line 75) | pub enum Interrupt { type InterruptDrawInfo (line 86) | pub(crate) enum InterruptDrawInfo { type Event (line 105) | pub enum Event { function render_with_input (line 130) | pub fn render_with_input( function render (line 258) | pub fn render( FILE: src/render/tui/utils.rs function ticker (line 9) | pub fn ticker(dur: Duration) -> impl futures_core::Stream { constant VERTICAL_LINE (line 23) | pub const VERTICAL_LINE: &str = "│"; FILE: src/throughput.rs constant THROTTLE_INTERVAL (line 9) | const THROTTLE_INTERVAL: Duration = Duration::from_secs(1); constant ONCE_A_SECOND (line 10) | const ONCE_A_SECOND: Duration = Duration::from_secs(1); type State (line 13) | struct State { method new (line 23) | fn new(value: progress::Step, elapsed: Duration) -> Self { method compute_throughput (line 38) | fn compute_throughput(&mut self) -> progress::Step { method update (line 56) | fn update(&mut self, value: progress::Step, elapsed: Duration) -> Opti... method throughput (line 68) | fn throughput(&self) -> Option { type Throughput (line 78) | pub struct Throughput { method update_elapsed (line 87) | pub fn update_elapsed(&mut self) { method update_and_get (line 95) | pub fn update_and_get( method reconcile (line 120) | pub fn reconcile(&mut self, sorted_values: &[(progress::Key, progress:... FILE: src/time.rs function format_now_datetime_seconds (line 10) | pub fn format_now_datetime_seconds() -> String { function format_time_for_messages (line 17) | pub fn format_time_for_messages(time: SystemTime) -> String { constant DATE_TIME_HMS (line 26) | pub const DATE_TIME_HMS: usize = "00:51:45".len(); function format_time_for_messages (line 37) | pub fn format_time_for_messages(time: SystemTime) -> String { function format_now_datetime_seconds (line 45) | pub fn format_now_datetime_seconds() -> String { FILE: src/traits.rs type NestedProgress (line 6) | pub trait NestedProgress: Progress { method add_child (line 15) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress; method add_child_with_id (line 21) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Se... type SubProgress (line 357) | type SubProgress = T::SubProgress; method add_child (line 359) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress { method add_child_with_id (line 363) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Se... type SubProgress (line 520) | type SubProgress = Self; method add_child (line 522) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress { method add_child_with_id (line 526) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Se... type SubProgress (line 605) | type SubProgress = BoxedDynNestedProgress; method add_child (line 607) | fn add_child(&mut self, name: impl Into) -> Self::SubProgress { method add_child_with_id (line 611) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Se... type Count (line 25) | pub trait Count { method set (line 30) | fn set(&self, step: progress::Step); method step (line 33) | fn step(&self) -> progress::Step; method inc_by (line 37) | fn inc_by(&self, step: progress::Step); method inc (line 41) | fn inc(&self) { method counter (line 49) | fn counter(&self) -> StepShared; method set (line 250) | fn set(&self, step: Step) { method step (line 254) | fn step(&self) -> Step { method inc_by (line 258) | fn inc_by(&self, step: Step) { method inc (line 262) | fn inc(&self) { method counter (line 266) | fn counter(&self) -> StepShared { method set (line 275) | fn set(&self, step: Step) { method step (line 279) | fn step(&self) -> Step { method inc_by (line 283) | fn inc_by(&self, step: Step) { method inc (line 287) | fn inc(&self) { method counter (line 291) | fn counter(&self) -> StepShared { method set (line 476) | fn set(&self, step: Step) { method step (line 480) | fn step(&self) -> Step { method inc_by (line 484) | fn inc_by(&self, step: Step) { method inc (line 488) | fn inc(&self) { method counter (line 492) | fn counter(&self) -> StepShared { method set (line 498) | fn set(&self, step: Step) { method step (line 502) | fn step(&self) -> Step { method inc_by (line 506) | fn inc_by(&self, step: Step) { method inc (line 510) | fn inc(&self) { method counter (line 514) | fn counter(&self) -> StepShared { method set (line 580) | fn set(&self, step: Step) { method step (line 584) | fn step(&self) -> Step { method inc_by (line 588) | fn inc_by(&self, step: Step) { method inc (line 592) | fn inc(&self) { method counter (line 596) | fn counter(&self) -> StepShared { type DynNestedProgress (line 56) | pub trait DynNestedProgress: Progress + impls::Sealed { method add_child (line 58) | fn add_child(&mut self, name: String) -> BoxedDynNestedProgress; method add_child_with_id (line 61) | fn add_child_with_id(&mut self, name: String, id: Id) -> BoxedDynNeste... method add_child (line 375) | fn add_child(&mut self, name: String) -> BoxedDynNestedProgress { method add_child_with_id (line 379) | fn add_child_with_id(&mut self, name: String, id: Id) -> BoxedDynNeste... type BoxedDynNestedProgress (line 65) | pub struct BoxedDynNestedProgress(Box); method new (line 386) | pub fn new(progress: impl DynNestedProgress + 'static) -> Self { type BoxedProgress (line 68) | pub type BoxedProgress = Box; type DynNestedProgressToNestedProgress (line 71) | pub struct DynNestedProgressToNestedProgress(pub T); type Progress (line 78) | pub trait Progress: Count + Send + Sync { method init (line 94) | fn init(&mut self, max: Option, unit: Option); method unit (line 97) | fn unit(&self) -> Option { method max (line 102) | fn max(&self) -> Option { method set_max (line 107) | fn set_max(&mut self, _max: Option) -> Option Option; method id (line 121) | fn id(&self) -> Id; method message (line 127) | fn message(&self, level: MessageLevel, message: String); method info (line 130) | fn info(&self, message: String) { method done (line 134) | fn done(&self, message: String) { method fail (line 138) | fn fail(&self, message: String) { method show_throughput (line 142) | fn show_throughput(&self, start: Instant) { method show_throughput_with (line 158) | fn show_throughput_with(&self, start: Instant, step: progress::Step, u... method init (line 300) | fn init(&mut self, max: Option, unit: Option) { method unit (line 304) | fn unit(&self) -> Option { method max (line 308) | fn max(&self) -> Option { method set_max (line 312) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 316) | fn set_name(&mut self, name: String) { method name (line 320) | fn name(&self) -> Option { method id (line 324) | fn id(&self) -> Id { method message (line 328) | fn message(&self, level: MessageLevel, message: String) { method info (line 332) | fn info(&self, message: String) { method done (line 336) | fn done(&self, message: String) { method fail (line 340) | fn fail(&self, message: String) { method show_throughput (line 344) | fn show_throughput(&self, start: Instant) { method show_throughput_with (line 348) | fn show_throughput_with(&self, start: Instant, step: Step, unit: Unit,... method init (line 392) | fn init(&mut self, max: Option, unit: Option) { method unit (line 396) | fn unit(&self) -> Option { method max (line 400) | fn max(&self) -> Option { method set_max (line 404) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 408) | fn set_name(&mut self, name: String) { method name (line 412) | fn name(&self) -> Option { method id (line 416) | fn id(&self) -> Id { method message (line 420) | fn message(&self, level: MessageLevel, message: String) { method show_throughput (line 424) | fn show_throughput(&self, start: Instant) { method show_throughput_with (line 428) | fn show_throughput_with(&self, start: Instant, step: Step, unit: Unit,... method init (line 434) | fn init(&mut self, max: Option, unit: Option) { method unit (line 438) | fn unit(&self) -> Option { method max (line 442) | fn max(&self) -> Option { method set_max (line 446) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 450) | fn set_name(&mut self, name: String) { method name (line 454) | fn name(&self) -> Option { method id (line 458) | fn id(&self) -> Id { method message (line 462) | fn message(&self, level: MessageLevel, message: String) { method show_throughput (line 466) | fn show_throughput(&self, start: Instant) { method show_throughput_with (line 470) | fn show_throughput_with(&self, start: Instant, step: Step, unit: Unit,... method init (line 535) | fn init(&mut self, max: Option, unit: Option) { method unit (line 539) | fn unit(&self) -> Option { method max (line 543) | fn max(&self) -> Option { method set_max (line 547) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 551) | fn set_name(&mut self, name: String) { method name (line 555) | fn name(&self) -> Option { method id (line 559) | fn id(&self) -> Id { method message (line 563) | fn message(&self, level: MessageLevel, message: String) { method show_throughput (line 567) | fn show_throughput(&self, start: Instant) { method show_throughput_with (line 571) | fn show_throughput_with(&self, start: Instant, step: Step, unit: Unit,... type WeakRoot (line 194) | pub trait WeakRoot { method upgrade (line 199) | fn upgrade(&self) -> Option; type Root (line 203) | pub trait Root { method messages_capacity (line 208) | fn messages_capacity(&self) -> usize; method num_tasks (line 212) | fn num_tasks(&self) -> usize; method sorted_snapshot (line 217) | fn sorted_snapshot(&self, out: &mut Vec<(progress::Key, progress::Task... method copy_messages (line 221) | fn copy_messages(&self, out: &mut Vec); method copy_new_messages (line 225) | fn copy_new_messages(&self, out: &mut Vec, prev: Option Self::WeakRoot; type Sealed (line 244) | pub trait Sealed {} FILE: src/tree/item.rs method drop (line 21) | fn drop(&mut self) { method fmt (line 27) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method init (line 49) | pub fn init(&self, max: Option, unit: Option) { method alter_progress (line 76) | fn alter_progress(&self, f: impl FnMut(&mut Value)) { method set_name (line 97) | pub fn set_name(&self, name: impl Into) { method name (line 113) | pub fn name(&self) -> Option { method id (line 125) | pub fn id(&self) -> Id { method step (line 140) | pub fn step(&self) -> Option { method max (line 145) | pub fn max(&self) -> Option { method set_max (line 161) | pub fn set_max(&self, max: Option) -> Option { method unit (line 190) | pub fn unit(&self) -> Option { method set (line 208) | pub fn set(&self, step: Step) { method inc_by (line 215) | pub fn inc_by(&self, step: Step) { method inc (line 222) | pub fn inc(&self) { method blocked (line 234) | pub fn blocked(&self, reason: &'static str, eta: Option) { method halted (line 246) | pub fn halted(&self, reason: &'static str, eta: Option) { method running (line 252) | pub fn running(&self) { method add_child (line 261) | pub fn add_child(&mut self, name: impl Into) -> Item { method add_child_with_id (line 270) | pub fn add_child_with_id(&mut self, name: impl Into, id: Id) -> ... method message (line 295) | pub fn message(&self, level: MessageLevel, message: impl Into) { method done (line 323) | pub fn done(&mut self, message: impl Into) { method fail (line 328) | pub fn fail(&mut self, message: impl Into) { method info (line 333) | pub fn info(&mut self, message: impl Into) { method deep_clone (line 337) | pub(crate) fn deep_clone(&self) -> Item { method set (line 349) | fn set(&self, step: usize) { method step (line 353) | fn step(&self) -> usize { method inc_by (line 357) | fn inc_by(&self, step: usize) { method counter (line 361) | fn counter(&self) -> StepShared { method init (line 367) | fn init(&mut self, max: Option, unit: Option) { method unit (line 371) | fn unit(&self) -> Option { method max (line 375) | fn max(&self) -> Option { method set_max (line 379) | fn set_max(&mut self, max: Option) -> Option { method set_name (line 383) | fn set_name(&mut self, name: String) { method name (line 387) | fn name(&self) -> Option { method id (line 391) | fn id(&self) -> Id { method message (line 395) | fn message(&self, level: MessageLevel, message: String) { type SubProgress (line 401) | type SubProgress = Item; method add_child (line 403) | fn add_child(&mut self, name: impl Into) -> Self { method add_child_with_id (line 407) | fn add_child_with_id(&mut self, name: impl Into, id: Id) -> Self { FILE: src/tree/mod.rs type Root (line 5) | pub struct Root { type Item (line 26) | pub struct Item { type HashMap (line 35) | type HashMap = dashmap::DashMap; type HashMap (line 38) | type HashMap = sync::HashMap; type HashMap (line 42) | pub struct HashMap(parking_lot::Mutex Self { function extend_to (line 51) | pub fn extend_to(&self, out: &mut Vec<(K, V)>) function remove (line 59) | pub fn remove(&self, key: &K) -> Option { function get (line 62) | pub fn get(&self, key: &K, cb: impl FnOnce(&V) -> T) -> Option { function get_mut (line 65) | pub fn get_mut(&self, key: &K, cb: impl FnOnce(&mut V) -> T) -> Optio... function insert (line 68) | pub fn insert(&self, key: K, value: V) { function len (line 71) | pub fn len(&self) -> usize { function clone (line 74) | pub fn clone(&self) -> Self FILE: src/tree/root.rs type Options (line 96) | pub struct Options { method create (line 106) | pub fn create(self) -> Root { method default (line 112) | fn default() -> Self { function from (line 121) | fn from(opts: Options) -> Self { type Root (line 146) | type Root = Arc; method new (line 19) | pub fn new() -> Arc { method messages_capacity (line 24) | pub fn messages_capacity(&self) -> usize { method num_tasks (line 30) | pub fn num_tasks(&self) -> usize { method add_child (line 45) | pub fn add_child(&self, name: impl Into) -> Item { method add_child_with_id (line 53) | pub fn add_child_with_id(&self, name: impl Into, id: Id) -> It... method sorted_snapshot (line 59) | pub fn sorted_snapshot(&self, out: &mut Vec<(Key, Task)>) { method copy_messages (line 70) | pub fn copy_messages(&self, out: &mut Vec) { method copy_new_messages (line 76) | pub fn copy_new_messages(&self, out: &mut Vec, prev: Option Arc { method from (line 127) | fn from( function upgrade (line 148) | fn upgrade(&self) -> Option { type WeakRoot (line 154) | type WeakRoot = Weak; function messages_capacity (line 156) | fn messages_capacity(&self) -> usize { function num_tasks (line 160) | fn num_tasks(&self) -> usize { function sorted_snapshot (line 164) | fn sorted_snapshot(&self, out: &mut Vec<(Key, Task)>) { function copy_messages (line 168) | fn copy_messages(&self, out: &mut Vec) { function copy_new_messages (line 172) | fn copy_new_messages(&self, out: &mut Vec, prev: Option Self::WeakRoot { FILE: src/tree/tests.rs function push (line 4) | fn push(buf: &mut MessageRingBuffer, msg: impl Into) { function push_and_copy_all (line 7) | fn push_and_copy_all(buf: &mut MessageRingBuffer, msg: impl Into... function assert_messages (line 12) | fn assert_messages(actual: &[Message], expected: &[&'static str]) { function copy_all (line 18) | fn copy_all() { function without_state (line 48) | fn without_state() { function with_continous_state (line 70) | fn with_continous_state() { FILE: src/unit/bytes.rs type Bytes (line 7) | pub struct Bytes; method format_bytes (line 10) | fn format_bytes(w: &mut dyn fmt::Write, value: Step) -> fmt::Result { method display_current_value (line 20) | fn display_current_value(&self, w: &mut dyn fmt::Write, value: Step, _up... method display_upper_bound (line 23) | fn display_upper_bound(&self, w: &mut dyn fmt::Write, upper_bound: Step,... method dyn_hash (line 27) | fn dyn_hash(&self, state: &mut dyn std::hash::Hasher) { method display_unit (line 31) | fn display_unit(&self, _w: &mut dyn fmt::Write, _value: Step) -> fmt::Re... FILE: src/unit/display.rs type Location (line 11) | pub enum Location { type Throughput (line 18) | pub struct Throughput { method new (line 27) | pub fn new(value_change_in_timespan: Step, timespan: std::time::Durati... type Mode (line 37) | pub struct Mode { method percent_location (line 44) | fn percent_location(&self) -> Option { method throughput_location (line 52) | fn throughput_location(&self) -> Option { method with_percentage (line 64) | pub fn with_percentage() -> Self { method with_throughput (line 72) | pub fn with_throughput() -> Self { method and_percentage (line 80) | pub fn and_percentage(mut self) -> Self { method and_throughput (line 85) | pub fn and_throughput(mut self) -> Self { method show_before_value (line 90) | pub fn show_before_value(mut self) -> Self { type UnitDisplay (line 97) | pub struct UnitDisplay<'a> { type What (line 105) | pub(crate) enum What { method values (line 112) | fn values(&self) -> bool { method unit (line 115) | fn unit(&self) -> bool { function all (line 122) | pub fn all(&mut self) -> &Self { function values (line 127) | pub fn values(&mut self) -> &Self { function unit (line 132) | pub fn unit(&mut self) -> &Self { function fmt (line 139) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/unit/duration.rs type Duration (line 7) | pub struct Duration; method display_current_value (line 10) | fn display_current_value(&self, w: &mut dyn fmt::Write, value: Step, _up... method separator (line 14) | fn separator(&self, w: &mut dyn fmt::Write, _value: Step, _upper: Option... method display_upper_bound (line 17) | fn display_upper_bound(&self, w: &mut dyn fmt::Write, upper_bound: Step,... method dyn_hash (line 22) | fn dyn_hash(&self, state: &mut dyn std::hash::Hasher) { method display_unit (line 26) | fn display_unit(&self, _w: &mut dyn fmt::Write, _value: Step) -> fmt::Re... FILE: src/unit/human.rs type Human (line 9) | pub struct Human { method new (line 18) | pub fn new(formatter: Formatter, name: &'static str) -> Self { method format_bytes (line 21) | fn format_bytes(&self, w: &mut dyn fmt::Write, value: Step) -> fmt::Re... method display_current_value (line 31) | fn display_current_value(&self, w: &mut dyn fmt::Write, value: Step, _up... method display_upper_bound (line 35) | fn display_upper_bound(&self, w: &mut dyn fmt::Write, upper_bound: Step,... method dyn_hash (line 39) | fn dyn_hash(&self, state: &mut dyn Hasher) { method display_unit (line 44) | fn display_unit(&self, w: &mut dyn fmt::Write, _value: Step) -> fmt::Res... FILE: src/unit/mod.rs type Unit (line 33) | pub struct Unit { method from (line 72) | fn from(v: &'static str) -> Self { method display (line 118) | pub fn display( method as_display_value (line 134) | pub fn as_display_value(&self) -> &dyn DisplayValue { type Kind (line 40) | pub enum Kind { method hash (line 48) | fn hash(&self, state: &mut H) { method fmt (line 63) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function label (line 78) | pub fn label(label: &'static str) -> Unit { function label_and_mode (line 86) | pub fn label_and_mode(label: &'static str, mode: display::Mode) -> Unit { function dynamic (line 94) | pub fn dynamic(label: impl DisplayValue + Send + Sync + 'static) -> Unit { function dynamic_and_mode (line 102) | pub fn dynamic_and_mode(label: impl DisplayValue + Send + Sync + 'static... FILE: src/unit/range.rs type Range (line 7) | pub struct Range { method new (line 14) | pub fn new(name: &'static str) -> Self { method display_current_value (line 20) | fn display_current_value(&self, w: &mut dyn fmt::Write, value: Step, _up... method separator (line 23) | fn separator(&self, w: &mut dyn fmt::Write, _value: Step, _upper: Option... method dyn_hash (line 27) | fn dyn_hash(&self, state: &mut dyn Hasher) { method display_unit (line 31) | fn display_unit(&self, w: &mut dyn fmt::Write, _value: Step) -> fmt::Res... FILE: src/unit/traits.rs type DisplayValue (line 6) | pub trait DisplayValue { method display_current_value (line 11) | fn display_current_value(&self, w: &mut dyn fmt::Write, value: Step, _... method separator (line 18) | fn separator(&self, w: &mut dyn fmt::Write, _value: Step, _upper: Opti... method display_upper_bound (line 25) | fn display_upper_bound(&self, w: &mut dyn fmt::Write, upper_bound: Ste... method dyn_hash (line 32) | fn dyn_hash(&self, state: &mut dyn std::hash::Hasher); method display_unit (line 37) | fn display_unit(&self, w: &mut dyn fmt::Write, value: Step) -> fmt::Re... method display_percentage (line 40) | fn display_percentage(&self, w: &mut dyn fmt::Write, percentage: f64) ... method display_throughput (line 45) | fn display_throughput(&self, w: &mut dyn fmt::Write, throughput: &disp... method fraction_and_time_unit (line 58) | fn fraction_and_time_unit(&self, timespan: std::time::Duration) -> (Op... method dyn_hash (line 86) | fn dyn_hash(&self, state: &mut dyn Hasher) { method display_unit (line 90) | fn display_unit(&self, w: &mut dyn fmt::Write, _value: usize) -> fmt::... FILE: tests/nested_progress/key.rs function size_in_memory (line 4) | fn size_in_memory() { function to_kv (line 14) | fn to_kv(keys: &[Key]) -> Vec<(Key, Task)> { function root_with_two_children (line 20) | fn root_with_two_children() -> Vec<(Key, Task)> { function root_with_two_children_with_two_children (line 24) | fn root_with_two_children_with_two_children() -> Vec<(Key, Task)> { function root_with_three_levels (line 40) | fn root_with_three_levels() -> Vec<(Key, Task)> { function root_with_three_levels_two_siblings_on_level_2 (line 47) | fn root_with_three_levels_two_siblings_on_level_2() -> Vec<(Key, Task)> { function root_level (line 56) | fn root_level() { function level_2_two_siblings (line 69) | fn level_2_two_siblings() { function level_3_single_sibling (line 102) | fn level_3_single_sibling() { function level_3_two_siblings (line 123) | fn level_3_two_siblings() { function orphaned_child_node (line 157) | fn orphaned_child_node() { FILE: tests/progress/mod.rs function dyn_safe (line 4) | fn dyn_safe() { function thread_safe (line 17) | fn thread_safe() { FILE: tests/unit/mod.rs function value_and_upper_bound_use_own_unit (line 7) | fn value_and_upper_bound_use_own_unit() { function various_combinations (line 19) | fn various_combinations() { function value_and_upper_bound_with_percentage (line 41) | fn value_and_upper_bound_with_percentage() { function value_and_upper_bound_use_own_unit (line 53) | fn value_and_upper_bound_use_own_unit() { function just_value (line 67) | fn just_value() { function display_current_value_with_upper_bound_percentage_before_value (line 78) | fn display_current_value_with_upper_bound_percentage_before_value() { function display_current_value_with_upper_bound_percentage_after_unit (line 94) | fn display_current_value_with_upper_bound_percentage_after_unit() { function display_current_over_time_shows_throughput (line 111) | fn display_current_over_time_shows_throughput() { function display_current_value_no_upper_bound_shows_no_percentage (line 193) | fn display_current_value_no_upper_bound_shows_no_percentage() { function display_current_value_with_upper_bound_shows_percentage (line 203) | fn display_current_value_with_upper_bound_shows_percentage() { function display_current_value_no_upper_bound (line 228) | fn display_current_value_no_upper_bound() { function display_current_value_with_upper_bound (line 235) | fn display_current_value_with_upper_bound() { function of_mode (line 250) | fn of_mode() { function of_unit (line 254) | fn of_unit() {