Struct bytecodec::combinator::AndThen [−][src]
pub struct AndThen<D0, D1, F> { /* fields omitted */ }
Expand description
Combinator for conditional decoding.
If the first item is successfully decoded,
it will start decoding the second item by using the decoder returned by f
function.
This is created by calling DecodeExt::and_then
method.
Trait Implementations
Auto Trait Implementations
impl<D0, D1, F> RefUnwindSafe for AndThen<D0, D1, F> where
D0: RefUnwindSafe,
D1: RefUnwindSafe,
F: RefUnwindSafe,
impl<D0, D1, F> UnwindSafe for AndThen<D0, D1, F> where
D0: UnwindSafe,
D1: UnwindSafe,
F: UnwindSafe,