Trait smart_read::TryRead
source · pub trait TryRead<'a> {
type Output;
type Default;
// Required method
fn try_read_line(
&'a self,
prompt: Option<String>,
default: Option<Self::Default>,
) -> BoxResult<Self::Output>;
}Expand description
This is what powers the whole crate. Any struct that implements this can be used with the macros