We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f5f584 commit 690b432Copy full SHA for 690b432
lightning-block-sync/src/lib.rs
@@ -35,10 +35,9 @@ pub trait BlockSource : Sync + Send {
35
/// Result type for `BlockSource` requests.
36
type BlockSourceResult<T> = Result<T, BlockSourceError>;
37
38
+// TODO: Replace with BlockSourceResult once `async` trait functions are supported. For details,
39
+// see: https://areweasyncyet.rs.
40
/// Result type for asynchronous `BlockSource` requests.
-///
-/// TODO: Replace with BlockSourceResult once `async` trait functions are supported. For details,
41
-/// see: https://areweasyncyet.rs.
42
type AsyncBlockSourceResult<'a, T> = Pin<Box<dyn Future<Output = BlockSourceResult<T>> + 'a + Send>>;
43
44
/// Error type for `BlockSource` requests.
0 commit comments