pub trait IntoWritableParselyResult<T> {
// Required method
fn into_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
we want ParselyResult<T> or ParselyResult<Result<T, E>>.