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 !Freeze for Connect
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