Struct rust_ipfs::p2p::TransportConfig  
source · pub struct TransportConfig {
    pub yamux_max_buffer_size: usize,
    pub yamux_receive_window_size: u32,
    pub yamux_update_mode: UpdateMode,
    pub timeout: Duration,
    pub dns_resolver: Option<DnsResolver>,
    pub version: UpgradeVersion,
    pub enable_quic: bool,
    pub quic_max_idle_timeout: Duration,
    pub support_quic_draft_29: bool,
}Fields§
§yamux_max_buffer_size: usize§yamux_receive_window_size: u32§yamux_update_mode: UpdateMode§timeout: Duration§dns_resolver: Option<DnsResolver>§version: UpgradeVersion§enable_quic: bool§quic_max_idle_timeout: Duration§support_quic_draft_29: 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 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