-
Couldn't load subscription status.
- Fork 420
Open
Description
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.
TheBlueMatt
Metadata
Metadata
Assignees
Labels
No labels