[−][src]Struct kcpclient::kcp::kcp_config::KcpConfig
Kcp Config
Fields
mtu: Option<usize>
Max Transmission Unit
interval: Option<u32>
Internal update interval
nodelay: Option<KcpNoDelayConfig>
nodelay
wnd_size: Option<(u16, u16)>
Send window size
rx_minrto: Option<u32>
Minimal resend timeout
session_expire: Option<Duration>
Session expire duration, default is 90 seconds
fast_resend: Option<u32>
Fast resend
flush_write: bool
Flush KCP state immediately after write
flush_acks_input: bool
Flush ACKs immediately after input
stream: bool
Stream mode
Trait Implementations
impl Clone for KcpConfig
[src]
impl Copy for KcpConfig
[src]
impl Debug for KcpConfig
[src]
impl Default for KcpConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for KcpConfig
impl Send for KcpConfig
impl Sync for KcpConfig
impl Unpin for KcpConfig
impl UnwindSafe for KcpConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,