pub struct OkResultOf<Expr>(pub Expr);Expand description
Wraps an expression in Ok(EXPR).
Tuple Fields§
§0: ExprTrait Implementations§
Auto Trait Implementations§
impl<Expr> Freeze for OkResultOf<Expr>where
Expr: Freeze,
impl<Expr> RefUnwindSafe for OkResultOf<Expr>where
Expr: RefUnwindSafe,
impl<Expr> Send for OkResultOf<Expr>where
Expr: Send,
impl<Expr> Sync for OkResultOf<Expr>where
Expr: Sync,
impl<Expr> Unpin for OkResultOf<Expr>where
Expr: Unpin,
impl<Expr> UnwindSafe for OkResultOf<Expr>where
Expr: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more