pub fn or_break<A>(r: DecodeResult<A>) -> DecodeResult<Option<A>>Expand description
When decoding an indefinite item, every element item can be a Break
value. By wrapping it in or_break, this case can be handled more
conveniently.
pub fn or_break<A>(r: DecodeResult<A>) -> DecodeResult<Option<A>>When decoding an indefinite item, every element item can be a Break
value. By wrapping it in or_break, this case can be handled more
conveniently.