Struct srt_protocol::protocol::receiver::ReceiverContext
source · pub struct ReceiverContext<'a> { /* private fields */ }Implementations§
source§impl<'a> ReceiverContext<'a>
impl<'a> ReceiverContext<'a>
pub fn new( timers: &'a mut Timers, output: &'a mut Output, stats: &'a mut SocketStatistics, receiver: &'a mut Receiver ) -> Self
pub fn synchronize_clock(&mut self, now: Instant, ts: TimeStamp)
pub fn handle_data_packet(&mut self, now: Instant, data: DataPacket)
pub fn handle_ack2_packet(&mut self, now: Instant, seq_num: FullAckSeqNumber)
pub fn handle_drop_request( &mut self, now: Instant, drop: RangeInclusive<SeqNumber> )
pub fn handle_key_refresh_request( &mut self, now: Instant, keying_material: KeyingMaterialMessage )
pub fn on_full_ack_event(&mut self, now: Instant)
pub fn on_nak_event(&mut self, now: Instant)
pub fn on_close_timeout(&mut self, _now: Instant)
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ReceiverContext<'a>
impl<'a> Send for ReceiverContext<'a>
impl<'a> Sync for ReceiverContext<'a>
impl<'a> Unpin for ReceiverContext<'a>
impl<'a> !UnwindSafe for ReceiverContext<'a>
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