pub struct Receiver { /* private fields */ }Implementations§
Source§impl Receiver
impl Receiver
pub fn new(settings: ConnectionSettings, handshake: Handshake) -> Self
pub fn handle_shutdown(&mut self)
pub fn handle_packet( &mut self, now: Instant, (packet, from): (Packet, SocketAddr), )
Sourcepub fn next_algorithm_action(&mut self, now: Instant) -> ReceiverAlgorithmAction
pub fn next_algorithm_action(&mut self, now: Instant) -> ReceiverAlgorithmAction
6.2 The Receiver’s Algorithm
pub fn is_flushed(&self) -> bool
Auto Trait Implementations§
impl Freeze for Receiver
impl RefUnwindSafe for Receiver
impl Send for Receiver
impl Sync for Receiver
impl Unpin for Receiver
impl UnsafeUnpin for Receiver
impl UnwindSafe for Receiver
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