[][src]Struct srt_protocol::connection::ConnectionSettings

pub struct ConnectionSettings {
    pub remote: SocketAddr,
    pub remote_sockid: SocketID,
    pub local_sockid: SocketID,
    pub socket_start_time: Instant,
    pub init_send_seq_num: SeqNumber,
    pub init_recv_seq_num: SeqNumber,
    pub max_packet_size: u32,
    pub max_flow_size: u32,
    pub send_tsbpd_latency: Duration,
    pub recv_tsbpd_latency: Duration,
    pub crypto_manager: Option<CryptoManager>,
    pub stream_id: Option<String>,
}

Fields

remote: SocketAddr

The remote socket to send & receive to

remote_sockid: SocketID

The socket id of the UDT entity on the other side

local_sockid: SocketID

The local UDT socket id

socket_start_time: Instant

The time that this socket started at, used to develop timestamps

init_send_seq_num: SeqNumber

The first sequence number that will be sent/received

init_recv_seq_num: SeqNumbermax_packet_size: u32

The maximum packet size

max_flow_size: u32

The maxiumum flow size

send_tsbpd_latency: Duration

The TSBPD of the connection--the max of each side's repspective latencies

recv_tsbpd_latency: Durationcrypto_manager: Option<CryptoManager>stream_id: Option<String>

Implementations

impl ConnectionSettings[src]

pub fn get_timestamp(&self, at: Instant) -> i32[src]

Timestamp in us

pub fn get_timestamp_now(&self) -> i32[src]

Timestamp in us

Trait Implementations

impl Clone for ConnectionSettings[src]

impl Debug for ConnectionSettings[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> Same<T> for T

type Output = T

Should always be Self

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