#Rust lazyweb: if I use
-> impl Into<MyError>
as the return type for a function, I still can’t use ?
syntax with it because ?
is defined in terms of From
, not Into
. Is there a way to use the impl
shorthand in terms of From
instead? (Specifically in a trait! RPITIT is important here cause I don’t want to write the assoc type explicitly at all N use sites.)