pub struct Except<E, A>(/* private fields */);Expand description
Lean’s Except ε α as a Result. Lean names the error type first, Rust the value type.
Trait Implementations§
Auto Trait Implementations§
impl<E, A> Forget for Except<E, A>
impl<E, A> Freeze for Except<E, A>
impl<E, A> Move for Except<E, A>
impl<E, A> RefUnwindSafe for Except<E, A>where
E: RefUnwindSafe,
A: RefUnwindSafe,
impl<E, A> Send for Except<E, A>
impl<E, A> Sync for Except<E, A>
impl<E, A> Unpin for Except<E, A>
impl<E, A> UnsafeUnpin for Except<E, A>
impl<E, A> UnwindSafe for Except<E, A>where
E: UnwindSafe,
A: 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