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 7626a17 commit 384ea8cCopy full SHA for 384ea8c
src/replication/mod.rs
@@ -30,6 +30,9 @@ pub enum ReplicationMethodsError {
30
/// Error from hypercore
31
#[error("Got a hypercore error: [{0}]")]
32
HypercoreError(#[from] HypercoreError),
33
+ /// Error from CoreMethods
34
+ #[error("Got a CoreMethods error: [{0}]")]
35
+ CoreMethodsError(#[from] CoreMethodsError),
36
}
37
38
/// Methods needed for replication
@@ -56,7 +59,7 @@ pub trait ReplicationMethods: CoreInfo + Send {
56
59
fn event_subscribe(&self) -> impl Future<Output = Receiver<Event>>;
57
60
58
61
-/// Error for ReplicationMethods trait
62
+/// Error for CoreMethods trait
63
#[derive(thiserror::Error, Debug)]
64
pub enum CoreMethodsError {
65
0 commit comments