Struct srt_protocol::protocol::output::Output
source · pub struct Output { /* private fields */ }Implementations§
source§impl Output
impl Output
pub fn new(settings: &ConnectionSettings) -> Self
pub fn is_empty(&self) -> bool
pub fn send_control(&mut self, now: Instant, control: ControlTypes)
pub fn send_data(&mut self, now: Instant, data: DataPacket)
pub fn ensure_alive(&mut self, now: Instant)
pub fn pop_packet(&mut self) -> Option<Packet>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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