[−][src]Struct srt_protocol::connection::ConnectionSettings
Fields
remote: SocketAddrThe remote socket to send & receive to
remote_sockid: SocketIDThe socket id of the UDT entity on the other side
local_sockid: SocketIDThe local UDT socket id
socket_start_time: InstantThe time that this socket started at, used to develop timestamps
init_send_seq_num: SeqNumberThe first sequence number that will be sent/received
init_recv_seq_num: SeqNumbermax_packet_size: u32The maximum packet size
max_flow_size: u32The maxiumum flow size
send_tsbpd_latency: DurationThe 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]
fn clone(&self) -> ConnectionSettings[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ConnectionSettings[src]
Auto Trait Implementations
impl RefUnwindSafe for ConnectionSettings[src]
impl Send for ConnectionSettings[src]
impl Sync for ConnectionSettings[src]
impl Unpin for ConnectionSettings[src]
impl UnwindSafe for ConnectionSettings[src]
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,
pub 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> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,