pub struct ExceptTF<E, M>(/* private fields */);Expand description
ExceptT monad transformer: adds error handling to an inner monad.
ExceptTF<E, M>::Of<A> = M::Of<Result<A, E>>
When the inner monad is IdentityF, this is equivalent to ResultF<E>.
Trait Implementations§
Source§impl<E: 'static, M: ApplicativeSt> ApplicativeSt for ExceptTF<E, M>
impl<E: 'static, M: ApplicativeSt> ApplicativeSt for ExceptTF<E, M>
Auto Trait Implementations§
impl<E, M> Freeze for ExceptTF<E, M>
impl<E, M> RefUnwindSafe for ExceptTF<E, M>where
E: RefUnwindSafe,
M: RefUnwindSafe,
impl<E, M> Send for ExceptTF<E, M>
impl<E, M> Sync for ExceptTF<E, M>
impl<E, M> Unpin for ExceptTF<E, M>
impl<E, M> UnsafeUnpin for ExceptTF<E, M>
impl<E, M> UnwindSafe for ExceptTF<E, M>where
E: UnwindSafe,
M: 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