pub struct OkResultOf<Expr>(pub Expr);Expand description
Wraps an expression in Ok(EXPR).
Tuple Fields§
§0: ExprTrait Implementations§
Source§impl<Expr: Clone> Clone for OkResultOf<Expr>
impl<Expr: Clone> Clone for OkResultOf<Expr>
Source§fn clone(&self) -> OkResultOf<Expr>
fn clone(&self) -> OkResultOf<Expr>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Expr: Debug> Debug for OkResultOf<Expr>
impl<Expr: Debug> Debug for OkResultOf<Expr>
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