Lines Matching defs:Ok
359 type Ok;
361 /// Behaves like `Result::unwrap`: if self is `Ok` yield the contained value,
363 fn unwrap_or_abort(self) -> Self::Ok;
365 /// Behaves like `Result::expect`: if self is `Ok` yield the contained value,
368 fn expect_or_abort(self, msg: &str) -> Self::Ok;
391 type Ok = T;
395 Ok(res) => res,
402 Ok(res) => res,
455 Ok(ts) => {
464 Ok(_) => gen_error().into(),