Struct bytecodec::combinator::TryMap [−][src]
pub struct TryMap<D, T, E, F> { /* fields omitted */ }
Expand description
Combinator which tries to convert decoded values by calling the specified function.
This is created by calling DecodeExt::try_map
method.
Implementations
Trait Implementations
type Item = T
type Item = T
The type of items to be decoded.
Consumes the given buffer (a part of a byte sequence), and proceeds the decoding process. Read more
Finishes the current decoding process and returns the decoded item. Read more
Returns the lower bound of the number of bytes needed to decode the next item. Read more
Auto Trait Implementations
impl<D, T, E, F> RefUnwindSafe for TryMap<D, T, E, F> where
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<D, T, E, F> UnwindSafe for TryMap<D, T, E, F> where
D: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
T: UnwindSafe,