Function expect_option

Source
pub fn expect_option<C: Into<i8>, T>(c: C, o: Option<T>, msg: &str) -> T