pub trait Progress {
// Required methods
fn step(&self, label: &str);
fn done(&self, label: &str);
fn field(&self, key: &str, value: &str);
fn bytes(&self, uploaded: u64, total: u64);
}Required Methods§
fn step(&self, label: &str)
fn done(&self, label: &str)
fn field(&self, key: &str, value: &str)
fn bytes(&self, uploaded: u64, total: u64)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".