improve Context::Fallible
docs
This commit is contained in:
parent
cdf8726c5a
commit
d66dd19d16
@ -7,7 +7,7 @@ pub trait Context<'a>: FunctorContext<'a, T = Self::_Tm> {
|
|||||||
/// Type to provide for [Monad]ic representation of computation, mostly that of resolution ([`Resolution`]).
|
/// Type to provide for [Monad]ic representation of computation, mostly that of resolution ([`Resolution`]).
|
||||||
type _Tm: Monad<'a>;
|
type _Tm: Monad<'a>;
|
||||||
|
|
||||||
/// Type to allow improved support for result evaluation.
|
/// Type to allow improved support for [`Result`] evaluation.
|
||||||
/// This is important for async applications stopping early.
|
/// This is important for async applications stopping early.
|
||||||
type Fallible: MonadFailAny<'a, T = Self::T>;
|
type Fallible: MonadFailAny<'a, T = Self::T>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user