Skip to main content

Watch

Trait Watch 

Source
pub trait Watch: Sync {
    // Required methods
    fn started(&self, cmd: &str);
    fn ended(&self, cmd: &str);
}
Expand description

Told as each command starts and ends: how the integrator reports its progress while a gate that prints nothing is passing.

Required Methods§

Source

fn started(&self, cmd: &str)

Source

fn ended(&self, cmd: &str)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§