pub
FallibleCtx
This commit is contained in:
parent
53378dae98
commit
930a1c4d81
@ -41,7 +41,7 @@ pub trait FunctorContextExt<'a>: FunctorContext<'a> {
|
|||||||
|
|
||||||
impl<'a, Ctx: FunctorContext<'a>> FunctorContextExt<'a> for Ctx {}
|
impl<'a, Ctx: FunctorContext<'a>> FunctorContextExt<'a> for Ctx {}
|
||||||
|
|
||||||
trait FallibleCtx<'a>: FunctorContext<'a> {
|
pub trait FallibleCtx<'a>: FunctorContext<'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