Struct s2n_quic_transport::stream::TxRequest
source · pub struct TxRequest<'state, 'chunks> { /* private fields */ }
Implementations§
source§impl<'state, 'chunks> TxRequest<'state, 'chunks>
impl<'state, 'chunks> TxRequest<'state, 'chunks>
pub fn send(&mut self, chunks: &'chunks mut [Bytes]) -> &mut Self
pub fn send_readiness(&mut self) -> &mut Self
pub fn finish(&mut self) -> &mut Self
pub fn reset(&mut self, error_code: Error) -> &mut Self
pub fn flush(&mut self) -> &mut Self
pub fn poll( &mut self, context: Option<&Context<'_>> ) -> Result<Response, StreamError>
Trait Implementations§
Auto Trait Implementations§
impl<'state, 'chunks> Freeze for TxRequest<'state, 'chunks>
impl<'state, 'chunks> !RefUnwindSafe for TxRequest<'state, 'chunks>
impl<'state, 'chunks> Send for TxRequest<'state, 'chunks>
impl<'state, 'chunks> Sync for TxRequest<'state, 'chunks>
impl<'state, 'chunks> Unpin for TxRequest<'state, 'chunks>
impl<'state, 'chunks> !UnwindSafe for TxRequest<'state, 'chunks>
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more