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