Trait Alt
pub trait Alt<I, O, E> {
// Required method
fn choice(&mut self, input: I) -> Result<(I, O), Err<E>>;
}Available on (crate features
rustls or boring or acme) and crate feature rustls only.Expand description
Helper trait for the alt() combinator.
This trait is implemented for tuples of up to 21 elements