pub struct ResolverProgress {
ticks: u16,
start: Instant,
time_to_print: Duration,
printed: bool,
deps_time: Duration,
slow_cpu_multiplier: u64,
}
Fields§
§ticks: u16
§start: Instant
§time_to_print: Duration
§printed: bool
§deps_time: Duration
§slow_cpu_multiplier: u64
Implementations§
source§impl ResolverProgress
impl ResolverProgress
pub fn new() -> ResolverProgress
pub fn shell_status(&mut self, config: Option<&Config>) -> CargoResult<()>
pub fn elapsed(&mut self, dur: Duration)
Auto Trait Implementations§
impl RefUnwindSafe for ResolverProgress
impl Send for ResolverProgress
impl Sync for ResolverProgress
impl Unpin for ResolverProgress
impl UnwindSafe for ResolverProgress
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes