pub struct QuicStreams { /* private fields */ }
Available on crate features
dns-over-quic
and tokio-runtime
only.Expand description
A stream of bi-directional QUIC streams
Implementations§
Source§impl QuicStreams
impl QuicStreams
Sourcepub async fn next(&mut self) -> Option<Result<QuicStream, ProtoError>>
pub async fn next(&mut self) -> Option<Result<QuicStream, ProtoError>>
Get the next bi directional stream from the client
Auto Trait Implementations§
impl Freeze for QuicStreams
impl RefUnwindSafe for QuicStreams
impl Send for QuicStreams
impl Sync for QuicStreams
impl Unpin for QuicStreams
impl UnwindSafe for QuicStreams
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