Skip to main content

Progress

Trait Progress 

Source
pub trait Progress {
    // Provided method
    fn message(&mut self, _bytes: &[u8]) { ... }
}
Expand description

Sink for the remote’s human-readable progress (side-band channel 2).

Implementations receive the raw progress bytes the server writes (typically \r-delimited counter lines). The default does nothing.

Provided Methods§

Source

fn message(&mut self, _bytes: &[u8])

Receive a chunk of progress bytes from side-band channel 2.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§