Struct rust_ipfs::p2p::TransportConfig
source · pub struct TransportConfig {
pub yamux_config: YamuxConfig,
pub mplex_config: MplexConfig,
pub no_delay: bool,
pub port_reuse: bool,
pub timeout: Duration,
}
Fields§
§yamux_config: YamuxConfig
§mplex_config: MplexConfig
§no_delay: bool
§port_reuse: bool
§timeout: Duration
Trait Implementations§
source§impl Clone for TransportConfig
impl Clone for TransportConfig
source§fn clone(&self) -> TransportConfig
fn clone(&self) -> TransportConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more