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.
2 parents 8a8c75a + 85106c9 commit fe85696Copy full SHA for fe85696
lightning-block-sync/src/lib.rs
@@ -75,12 +75,12 @@ pub trait BlockSource : Sync + Send {
75
}
76
77
/// Result type for `BlockSource` requests.
78
-type BlockSourceResult<T> = Result<T, BlockSourceError>;
+pub type BlockSourceResult<T> = Result<T, BlockSourceError>;
79
80
// TODO: Replace with BlockSourceResult once `async` trait functions are supported. For details,
81
// see: https://areweasyncyet.rs.
82
/// Result type for asynchronous `BlockSource` requests.
83
-type AsyncBlockSourceResult<'a, T> = Pin<Box<dyn Future<Output = BlockSourceResult<T>> + 'a + Send>>;
+pub type AsyncBlockSourceResult<'a, T> = Pin<Box<dyn Future<Output = BlockSourceResult<T>> + 'a + Send>>;
84
85
/// Error type for `BlockSource` requests.
86
///
0 commit comments