pub enum AcceptedConn {
Quic {
conn: Connection,
alpn: Vec<u8>,
},
}Expand description
A client connection that has completed its handshake and is ready for MoQT session handling.
Produced by Listener::accept. Each variant corresponds to a
distinct client-facing transport that MoQT can run over.
Variants§
Quic
Raw QUIC connection speaking MoQT directly. The negotiated ALPN
(moq-00, moqt-15, moqt-16, moqt-17, …) is returned so
callers can resolve the draft version.
Auto Trait Implementations§
impl Freeze for AcceptedConn
impl RefUnwindSafe for AcceptedConn
impl Send for AcceptedConn
impl Sync for AcceptedConn
impl Unpin for AcceptedConn
impl UnsafeUnpin for AcceptedConn
impl UnwindSafe for AcceptedConn
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