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 11a9726 commit 0fd9ca9Copy full SHA for 0fd9ca9
internal/mithril-dmq-node/src/publisher/interface.rs
@@ -1,11 +1,9 @@
1
-use std::fmt::Debug;
2
-
3
use mithril_common::{crypto_helper::TryToBytes, StdResult};
4
5
/// Trait for publishing messages from a DMQ node.
6
#[cfg_attr(test, mockall::automock)]
7
#[async_trait::async_trait]
8
-pub trait DmqPublisher<M: TryToBytes + Debug + Send + Sync>: Send + Sync {
+pub trait DmqPublisher<M: TryToBytes + Send + Sync>: Send + Sync {
9
/// Publishes a message to the DMQ node.
10
async fn publish_message(&self, message: M) -> StdResult<()>;
11
}
0 commit comments