Struct rust_ipfs::p2p::TransportConfig  
source · pub struct TransportConfig {Show 14 fields
    pub yamux_max_buffer_size: usize,
    pub yamux_receive_window_size: u32,
    pub yamux_update_mode: u8,
    pub mplex_max_buffer_size: usize,
    pub no_delay: bool,
    pub port_reuse: bool,
    pub timeout: Duration,
    pub dns_resolver: Option<DnsResolver>,
    pub version: Option<UpgradeVersion>,
    pub enable_quic: bool,
    pub enable_websocket: bool,
    pub enable_secure_websocket: bool,
    pub support_quic_draft_29: bool,
    pub enable_webrtc: bool,
}Fields§
§yamux_max_buffer_size: usize§yamux_receive_window_size: u32§yamux_update_mode: u8§mplex_max_buffer_size: usize§no_delay: bool§port_reuse: bool§timeout: Duration§dns_resolver: Option<DnsResolver>§version: Option<UpgradeVersion>§enable_quic: bool§enable_websocket: bool§enable_secure_websocket: bool§support_quic_draft_29: bool§enable_webrtc: boolTrait 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