pub trait IntoWritableParselyResult<T, B> {
// Required method
fn into_writable_parsely_result(self) -> ParselyResult<T>;
}
Expand description
Helper trait to coerce values of both T: ParselyWrite
and Result<T, E>: E: Into<anyhow::Error>
into ParselyResult<T>
. We need a trait specifically for writing because
if we don’t bound the impl for T
in some way there’s ambiguity: the compiler doesn’t know if