pub trait IProgressEvent: IEvent {
// Provided methods
fn length_computable(&self) -> bool { ... }
fn loaded(&self) -> u64 { ... }
fn total(&self) -> u64 { ... }
}Expand description
The IProgressEvent interface represents progress-related
events.
Provided Methods§
Sourcefn length_computable(&self) -> bool
fn length_computable(&self) -> bool
Indicates whether the progress is measureable.
Sourcefn loaded(&self) -> u64
fn loaded(&self) -> u64
Returns the amount of work already performed by the underlying process.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.