pub trait IntoParselyResult<T> {
// Required method
fn into_parsely_result(self) -> ParselyResult<T>;
}
Expand description
When we need to convert an expression that may or may not be wrapped in a Result on the read
path, we can rely on the fact that we’ll eventually be assigning the value to a field with a
concrete type and we can rely on type inference in order to figure out what that should be.
Because of that we don’t want/need the ParselyWrite
trait bounds on the impl like we have
above for the writable side, so we need a different trait here.