Struct stun::client::ClientBuilder [−][src]
pub struct ClientBuilder { /* fields omitted */ }
Implementations
with_timeout_rate sets RTO timer minimum resolution.
with_buffer_size sets buffer size.
with_collector rests client timeout collector, the implementation of ticker which calls function on each tick.
with_conn sets transport connection
with_no_retransmit disables retransmissions and sets RTO to DEFAULT_MAX_ATTEMPTS * DEFAULT_RTO which will be effectively time out if not set. Useful for TCP connections where transport handles RTO.
Trait Implementations
Returns the “default value” for a type. Read more