pipelight_exec

Trait Statuable

source
pub trait Statuable {
    // Required methods
    fn get_status(&self) -> Option<Status>;
    fn set_status(&mut self, status: Option<Status>);
}
Expand description

In pipelight, many are the structs and enum substructs that have a status. This trait is to query the deepenth status in a more standardize way.

Required Methods§

source

fn get_status(&self) -> Option<Status>

source

fn set_status(&mut self, status: Option<Status>)

Implementors§

source§

impl Statuable for Process

Implementation of the Statuable trait for the process struct.