Struct srt_protocol::protocol::pending_connection::connect::Connect
source · pub struct Connect { /* private fields */ }Implementations§
source§impl Connect
impl Connect
pub fn new( remote: SocketAddr, local_addr: IpAddr, init_settings: ConnInitSettings, streamid: Option<String>, starting_send_seqnum: SeqNumber ) -> Self
pub fn wait_for_induction( &mut self, from: SocketAddr, timestamp: TimeStamp, info: HandshakeControlInfo, now: Instant ) -> ConnectionResult
pub fn handle_packet( &mut self, packet: ReceivePacketResult, now: Instant ) -> ConnectionResult
pub fn handle_tick(&mut self, _now: Instant) -> ConnectionResult
Auto Trait Implementations§
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
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