pub trait TermReadEventsAndRaw {
    fn events_and_raw(self) -> EventsAndRaw<Self>Notable traits for EventsAndRaw<R>impl<R: Read> Iterator for EventsAndRaw<R>    type Item = Result<(Event, Vec<u8>), Error>;
    where
        Self: Sized
; }
Expand description

Extension to TermRead trait. A separate trait in order to maintain backwards compatibility.

Required Methods

An iterator over input events and the bytes that define them.

Implementors