Allow returning Self
instead of Option<Self>
for Prep methods that always go to Ready
#21
Labels
enhancement
New feature or request
Option
provides aFrom
implementation forT
such thatOption::from(val)
on bothT
andOption<T>
will result inOption<T>
. So all Prep calls could be wrapped inOption::from(...)
to handle both. This needs testing to check that it causes no issues. It also requires some consideration to be sure that it won't confuse coders who might forget that there's a way to delay moving to the Ready state.The text was updated successfully, but these errors were encountered: