Enum postcard::FeedResult [−][src]
pub enum FeedResult<'a, T> { Consumed, OverFull(&'a [u8]), DeserError(&'a [u8]), Success { data: T, remaining: &'a [u8], }, }
Expand description
The result of feeding the accumulator.
Variants
Consumed all data, still pending.
Buffer was filled. Contains remaining section of input, if any.
Reached end of chunk, but deserialization failed. Contains remaining section of input, if. any
Deserialization complete. Contains deserialized data and remaining section of input, if any.