// Struct
usecrate::{Process, Status};/**
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.
*/pubtraitStatuable{fnget_status(&self)->Option<Status>;fnset_status(&mutself, status:Option<Status>);}/**
Implementation of the Statuable trait for the process struct.
*/implStatuable forProcess{fnget_status(&self)->Option<Status>{self.state.status.to_owned()}fnset_status(&mutself, status:Option<Status>){self.state.status = status;}}