Struct hickory_proto::quic::QuicStreams
source · 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