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