Struct exocore_transport::p2p::Libp2pTransportConfig [−][src]
pub struct Libp2pTransportConfig {
pub listen_addresses: Vec<Multiaddr>,
pub handle_in_channel_size: usize,
pub handle_out_channel_size: usize,
pub handles_to_behaviour_channel_size: usize,
pub swarm_nodes_update_interval: Duration,
}
Expand description
Libp2pTransport
configuration.
Fields
listen_addresses: Vec<Multiaddr>
handle_in_channel_size: usize
handle_out_channel_size: usize
handles_to_behaviour_channel_size: usize
swarm_nodes_update_interval: Duration
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Libp2pTransportConfig
impl Send for Libp2pTransportConfig
impl Sync for Libp2pTransportConfig
impl Unpin for Libp2pTransportConfig
impl UnwindSafe for Libp2pTransportConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more