Trait sic::combinators::FallbackIf
source · pub trait FallbackIf<T, E> {
// Required method
fn fallback_if<P, F, V>(
self,
predicate: P,
f: F,
alternative: V
) -> Result<T, E>
where P: Into<bool>,
F: FnOnce(V) -> Result<T, E>;
}