SelectError

Trait SelectError 

Source
pub trait SelectError<Then, Else> {
    type Out;
}
Expand description

Select between two types based on Error capability.

Required Associated Types§

Implementors§

Source§

impl<S, Then, Else> SelectError<Then, Else> for S
where S: Evaluate<IsError>, <S as Evaluate<IsError>>::Out: Bool,

Available on crate feature std only.
Source§

type Out = <<S as Evaluate<Marker<Cons<X5, Cons<XF, Cons<X3, Cons<X4, Cons<X3, Cons<XA, Cons<X4, Cons<X3, Cons<XE, Cons<X7, Cons<XE, Cons<XA, Cons<X9, Cons<XF, Cons<X9, ConstStream<X1>>>>>>>>>>>>>>>>>>>::Out as Bool>::If<Then, Else>