In #3734 and #3752 we started converting some of our traits to return an AsyncResult.
However, as async_poll.rs is not exposed, the docs now show the full Result type, which is a mouth full, e.g.:
fn list_confirmed_utxos<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Utxo>, ()>> + Send + 'a>>;
IMO we should expose (and document) the AsyncResult type alias, to allow users to use AsyncResult in their trait implementations, and to have docs read better.
In #3734 and #3752 we started converting some of our traits to return an
AsyncResult.However, as
async_poll.rsis not exposed, the docs now show the fullResulttype, which is a mouth full, e.g.:IMO we should expose (and document) the
AsyncResulttype alias, to allow users to useAsyncResultin their trait implementations, and to have docs read better.