Struct srt_protocol::protocol::sender::Sender
source · pub struct Sender { /* private fields */ }Implementations§
source§impl Sender
impl Sender
pub fn new(settings: ConnectionSettings) -> Self
pub fn is_flushed(&self) -> bool
pub fn has_packets_to_send(&self) -> bool
pub fn tx_buffered_time(&self) -> Duration
pub fn tx_buffered_packets(&self) -> u64
pub fn tx_buffered_bytes(&self) -> u64
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Sender
impl Send for Sender
impl Sync for Sender
impl Unpin for Sender
impl UnwindSafe for Sender
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more