Module bytecodec::combinator [−][src]
Expand description
Encoders and decoders for combination.
These are mainly created via the methods provided by EncodeExt
or DecodeExt
traits.
Structs
Combinator for conditional decoding.
Combinator for collecting decoded items.
Combinator for decoding the specified number of items and collecting the result.
Combinator for representing encoders that accepts only one additional item.
Combinator for consuming the specified number of bytes exactly.
Combinator for converting decoded items to other values.
Combinator for modifying encoding/decoding errors.
Combinator for converting items into ones that suited to the inner encoder by calling the given function.
Combinator that will fail if the number of consumed bytes exceeds the specified size.
Combinator for ignoring EOS if there is no item being decoded.
Combinator for representing optional decoders.
Combinator for representing an optional encoder.
Combinator that enables to peek decoded items before calling finish_decoding
method.
Combinator for pre-encoding items when start_encoding
method is called.
Combinator for repeating encoding of E::Item
.
Combinator for slicing an input/output byte sequence by the specified number of bytes.
Combinator which tries to convert decoded values by calling the specified function.
Combinator that tries to convert items into ones that suited to the inner encoder by calling the given function.