pub trait HasRestLen {
// Required method
fn rest_len(&self) -> usize;
}Expand description
Allows iterators to report the remaining, unparsed bytes within an iterator.
This is for iterators that parse items from &[u8] buffers or similar.
pub trait HasRestLen {
// Required method
fn rest_len(&self) -> usize;
}Allows iterators to report the remaining, unparsed bytes within an iterator.
This is for iterators that parse items from &[u8] buffers or similar.