IKCPCB

Struct IKCPCB 

Source
pub struct IKCPCB { /* private fields */ }

Implementations§

Source§

impl IKCPCB

Source

pub const fn conv(&self) -> u32

Source

pub const fn mtu(&self) -> u32

Source

pub const fn mss(&self) -> u32

Source

pub const fn state(&self) -> bool

Source

pub const fn snd_una(&self) -> u32

Source

pub const fn snd_nxt(&self) -> u32

Source

pub const fn rcv_nxt(&self) -> u32

Source

pub const fn ssthresh(&self) -> u32

Source

pub const fn rx_rttval(&self) -> i32

Source

pub const fn rx_srtt(&self) -> i32

Source

pub const fn rx_rto(&self) -> i32

Source

pub const fn rx_minrto(&self) -> i32

Source

pub const fn snd_wnd(&self) -> u32

Source

pub const fn rcv_wnd(&self) -> u32

Source

pub const fn rmt_wnd(&self) -> u32

Source

pub const fn cwnd(&self) -> u32

Source

pub const fn probe(&self) -> u32

Source

pub const fn current(&self) -> u32

Source

pub const fn interval(&self) -> u32

Source

pub const fn ts_flush(&self) -> u32

Source

pub const fn xmit(&self) -> u32

Source

pub const fn nodelay(&self) -> u32

Source

pub const fn updated(&self) -> bool

Source

pub const fn ts_probe(&self) -> u32

Source

pub const fn probe_wait(&self) -> u32

Source

pub const fn incr(&self) -> u32

Source

pub const fn snd_queue(&self) -> &VecDeque<IKCPSEG>

Source

pub const fn rcv_queue(&self) -> &VecDeque<IKCPSEG>

Source

pub const fn snd_buf(&self) -> &VecDeque<IKCPSEG>

Source

pub const fn rcv_buf(&self) -> &VecDeque<IKCPSEG>

Source

pub const fn acklist(&self) -> &Vec<(u32, u32)>

Source

pub const fn fastresend(&self) -> i32

Source

pub const fn fastlimit(&self) -> i32

Source

pub const fn nocwnd(&self) -> bool

Source

pub const fn stream(&self) -> bool

Auto Trait Implementations§

§

impl Freeze for IKCPCB

§

impl RefUnwindSafe for IKCPCB

§

impl Send for IKCPCB

§

impl Sync for IKCPCB

§

impl Unpin for IKCPCB

§

impl UnwindSafe for IKCPCB

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.