Struct p2p::config::UdpHolePuncher
[−]
[src]
pub struct UdpHolePuncher { pub starting_ttl: u8, pub ttl_increment_delay_ms: u64, }
Details of each UDP Hole puncher
Fields
starting_ttl: u8
Starting value of TTL
.
ttl_increment_delay_ms: u64
Delay before retransmitting with an incremented value of TTL
. Once it is established the
peer is reached this will be bounced back to the platform default so normal communication
can ensue.
Trait Implementations
impl Debug for UdpHolePuncher
[src]
impl Clone for UdpHolePuncher
[src]
fn clone(&self) -> UdpHolePuncher
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more