1 2 3 4
pub trait ShouldBeOption<T: ?Sized> { fn should_be_some(&self) -> &T; fn should_be_none(&self); }