pub trait TakeAtom {
type Atom: LenBytes;
type Container;
// Required methods
fn next(&mut self) -> Option<(usize, Self::Atom)>;
fn split_at(self, index: usize) -> (Self::Container, Self::Container);
}Expand description
Implemented by types usable with take_while