[][src]Struct srt_rs::SrtStream

pub struct SrtStream { /* fields omitted */ }

Implementations

impl SrtStream[src]

pub fn peer_addr(&self) -> Result<SocketAddr, SrtError>[src]

pub fn close(self) -> Result<(), SrtError>[src]

pub fn set_time_drift_tracer(&self, enable: bool) -> Result<(), SrtError>[src]

pub fn set_input_bandwith(&self, bytes_per_sec: i64) -> Result<(), SrtError>[src]

pub fn set_recovery_bandwidth_overhead(
    &self,
    per_cent: i32
) -> Result<(), SrtError>
[src]

pub fn set_retransmission_algorithm(
    &self,
    reduced: bool
) -> Result<(), SrtError>
[src]

pub fn set_receive_timeout(&self, msecs: i32) -> Result<(), SrtError>[src]

pub fn set_send_timeout(&self, msecs: i32) -> Result<(), SrtError>[src]

pub fn get_flight_flag_size(&self) -> Result<i32, SrtError>[src]

pub fn get_input_bandwith(&self) -> Result<i64, SrtError>[src]

pub fn get_ip_type_of_service(&self) -> Result<i32, SrtError>[src]

pub fn get_initial_sequence_number(&self) -> Result<i32, SrtError>[src]

pub fn get_ip_time_to_live(&self) -> Result<i32, SrtError>[src]

pub fn get_ipv6_only(&self) -> Result<i32, SrtError>[src]

pub fn get_km_refresh_rate(&self) -> Result<i32, SrtError>[src]

pub fn get_km_preannounce(&self) -> Result<i32, SrtError>[src]

pub fn get_linger(&self) -> Result<i32, SrtError>[src]

pub fn get_max_reorder_tolerance(&self) -> Result<i32, SrtError>[src]

pub fn get_max_bandwith(&self) -> Result<i64, SrtError>[src]

pub fn get_mss(&self) -> Result<i32, SrtError>[src]

pub fn get_nak_report(&self) -> Result<bool, SrtError>[src]

pub fn get_encryption_key_length(&self) -> Result<i32, SrtError>[src]

pub fn get_peer_latency(&self) -> Result<i32, SrtError>[src]

pub fn get_peer_version(&self) -> Result<i32, SrtError>[src]

pub fn get_receive_buffer(&self) -> Result<i32, SrtError>[src]

pub fn get_receive_data(&self) -> Result<i32, SrtError>[src]

pub fn get_receive_km_state(&self) -> Result<SrtKmState, SrtError>[src]

pub fn get_receive_latency(&self) -> Result<i32, SrtError>[src]

pub fn get_receive_blocking(&self) -> Result<bool, SrtError>[src]

pub fn get_receive_timeout(&self) -> Result<i32, SrtError>[src]

pub fn get_rendezvous(&self) -> Result<bool, SrtError>[src]

pub fn get_reuse_address(&self) -> Result<bool, SrtError>[src]

pub fn get_send_buffer(&self) -> Result<i32, SrtError>[src]

pub fn get_send_data(&self) -> Result<i32, SrtError>[src]

pub fn get_send_km_state(&self) -> Result<SrtKmState, SrtError>[src]

pub fn get_send_blocking(&self) -> Result<bool, SrtError>[src]

pub fn get_send_timeout(&self) -> Result<i32, SrtError>[src]

pub fn get_socket_state(&self) -> Result<SrtSocketStatus, SrtError>[src]

pub fn get_stream_id(&self) -> Result<String, SrtError>[src]

pub fn get_too_late_packet_drop(&self) -> Result<bool, SrtError>[src]

pub fn get_timestamp_based_packet_delivery_mode(&self) -> Result<bool, SrtError>[src]

pub fn get_udp_receive_buffer(&self) -> Result<i32, SrtError>[src]

pub fn get_udp_send_buffer(&self) -> Result<i32, SrtError>[src]

pub fn get_srt_version(&self) -> Result<i32, SrtError>[src]

Trait Implementations

impl Read for SrtStream[src]

impl Write for SrtStream[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, 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.