Trait smart_read::ReadLine
source · pub trait ReadLine {
type Output;
// Required method
fn try_read_line(&self) -> BoxResult<Self::Output>;
// Provided method
fn read_line(&self) -> Self::Output { ... }
}Expand description
This is what powers the whole crate. Anything that implements this can be passed to read!() and try_read!()