Struct h3_quinn::OpenStreams
source · pub struct OpenStreams { /* private fields */ }
Expand description
Stream opener backed by a Quinn connection
Implements quic::OpenStreams
using quinn::Connection
,
quinn::OpenBi
, quinn::OpenUni
.
Trait Implementations§
source§impl Clone for OpenStreams
impl Clone for OpenStreams
source§impl<B> OpenStreams<B> for OpenStreamswhere
B: Buf,
impl<B> OpenStreams<B> for OpenStreamswhere
B: Buf,
§type SendStream = SendStream<B>
type SendStream = SendStream<B>
The type produced by
poll_open_send()
§type BidiStream = BidiStream<B>
type BidiStream = BidiStream<B>
The type produced by
poll_open_bidi()
§type OpenError = ConnectionError
type OpenError = ConnectionError
Error type yielded by these trait methods
source§fn poll_open_bidi(
&mut self,
cx: &mut Context<'_>,
) -> Poll<Result<Self::BidiStream, Self::OpenError>>
fn poll_open_bidi( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<Self::BidiStream, Self::OpenError>>
Poll the connection to create a new bidirectional stream.
source§fn poll_open_send(
&mut self,
cx: &mut Context<'_>,
) -> Poll<Result<Self::SendStream, Self::OpenError>>
fn poll_open_send( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<Self::SendStream, Self::OpenError>>
Poll the connection to create a new unidirectional stream.
Auto Trait Implementations§
impl Freeze for OpenStreams
impl !RefUnwindSafe for OpenStreams
impl Send for OpenStreams
impl Sync for OpenStreams
impl Unpin for OpenStreams
impl !UnwindSafe for OpenStreams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)