pub struct Path { /* private fields */ }Implementations§
Source§impl Path
impl Path
pub async fn drive( &self, tls_handshake: ArcTlsHandshake, ) -> Result<(), PathDeactivated>
Source§impl Path
impl Path
pub fn new( interface: QuicInterface, link: Link, pathway: Pathway, dcid_cell: ArcDcidCell, max_ack_delay: Duration, max_idle_timer: MaxIdleTimer, defer_idle_timer: ArcDeferIdleTimer, feedbacks: [Arc<dyn Feedback>; 3], handshake_status: Arc<HandshakeStatus>, ) -> Self
pub fn cc(&self) -> &ArcCC
pub fn on_packet_rcvd( &self, epoch: Epoch, pn: u64, size: usize, packet_contains: PacketContains, )
pub fn grant_anti_amplification(&self)
pub fn mtu(&self) -> u16
pub async fn send_packets(&self, bufs: &[IoSlice<'_>]) -> Result<()>
Trait Implementations§
Source§impl ReceiveFrame<PathChallengeFrame> for Path
impl ReceiveFrame<PathChallengeFrame> for Path
Source§impl ReceiveFrame<PathResponseFrame> for Path
impl ReceiveFrame<PathResponseFrame> for Path
Auto Trait Implementations§
impl !Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more