mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 06:41:34 +00:00
*: Derive Debug
and Clone
(#2495)
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -37,6 +37,7 @@ pub use self::protocol::{FloodsubMessage, FloodsubRpc};
|
||||
pub use self::topic::Topic;
|
||||
|
||||
/// Configuration options for the Floodsub protocol.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct FloodsubConfig {
|
||||
/// Peer id of the local node. Used for the source of the messages that we publish.
|
||||
pub local_peer_id: PeerId,
|
||||
|
Reference in New Issue
Block a user