[][src]Struct ap_kcp::KcpConfig

pub struct KcpConfig {
    pub max_interval: u32,
    pub min_interval: u32,
    pub nodelay: bool,
    pub mtu: usize,
    pub mss: usize,
    pub fast_rexmit_thresh: u32,
    pub fast_ack_thresh: u32,
    pub congestion: Congestion,
    pub max_rexmit_time: u32,
    pub min_rto: u32,
    pub send_window_size: u16,
    pub recv_window_size: u16,
    pub timeout: u32,
    pub keep_alive_interval: u32,
    pub name: String,
}

Fields

max_interval: u32min_interval: u32nodelay: boolmtu: usizemss: usizefast_rexmit_thresh: u32fast_ack_thresh: u32congestion: Congestionmax_rexmit_time: u32min_rto: u32send_window_size: u16recv_window_size: u16timeout: u32keep_alive_interval: u32name: String

Implementations

impl KcpConfig[src]

pub fn check(&self) -> KcpResult<()>[src]

Trait Implementations

impl Clone for KcpConfig[src]

impl Debug for KcpConfig[src]

impl Default for KcpConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,