pub trait PidStateExt { fn from_char(c: char) -> Option<PidState>; fn as_char(&self) -> Option<char>; }