Struct tokio_kcp::KcpConfig [] [src]

pub struct KcpConfig {
    pub mtu: Option<usize>,
    pub interval: Option<u32>,
    pub nodelay: Option<KcpNoDelayConfig>,
    pub wnd_size: Option<u32>,
    pub rx_minrto: Option<u32>,
    pub session_expire: Option<Duration>,
}

Kcp Config

Fields

Max Transmission Unit

Internal update interval

nodelay

Send and receive window size

Minimal resend timeout

Session expire duration, default is 90 seconds

Trait Implementations

impl Default for KcpConfig
[src]

Returns the "default value" for a type. Read more

impl Debug for KcpConfig
[src]

Formats the value using the given formatter.

impl Clone for KcpConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for KcpConfig
[src]