Struct rust_ipfs::p2p::TransportConfig
source · pub struct TransportConfig {Show 15 fields
pub yamux_max_buffer_size: usize,
pub yamux_receive_window_size: u32,
pub yamux_update_mode: UpdateMode,
pub multiplex_option: MultiPlexOption,
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: UpdateMode
§multiplex_option: MultiPlexOption
§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: bool
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 moresource§impl Debug for TransportConfig
impl Debug for TransportConfig
source§impl Default for TransportConfig
impl Default for TransportConfig
impl Copy for TransportConfig
Auto Trait Implementations§
impl RefUnwindSafe for TransportConfig
impl Send for TransportConfig
impl Sync for TransportConfig
impl Unpin for TransportConfig
impl UnwindSafe for TransportConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more