pub trait HasExit: Display { // Required method fn get_exit(&self) -> Option<&Exit>; }
For types that can optionally have an Exit.
Return the Exit if it exists.