[][src]Struct srt::CCData

pub struct CCData {
    pub rtt: Duration,
    pub max_segment_size: u32,
    pub est_bandwidth: i32,
    pub latest_seq_num: Option<SeqNumber>,
    pub packet_arr_rate: u32,
}

Defines all the data that CC algorithms need

Fields

rtt: Duration

Round trip time

max_segment_size: u32

The max segment size, in bytes

est_bandwidth: i32

Estimated bandwidth, in bytes/sec

latest_seq_num: Option<SeqNumber>

The latest sequence number to be sent, sender only

packet_arr_rate: u32

The packet arrival rate, both sender and receiver, as the receiver sends this info to the sender in ACK packets

Auto Trait Implementations

impl RefUnwindSafe for CCData

impl Send for CCData

impl Sync for CCData

impl Unpin for CCData

impl UnwindSafe for CCData

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, 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>,