Struct s2n_quic_transport::stream::RxRequest
source · [−]pub struct RxRequest<'state, 'chunks> { /* private fields */ }
Implementations
sourceimpl<'state, 'chunks> RxRequest<'state, 'chunks>
impl<'state, 'chunks> RxRequest<'state, 'chunks>
pub fn receive(&mut self, chunks: &'chunks mut [Bytes]) -> &mut Self
pub fn with_watermark(&mut self, low: usize, high: usize) -> &mut Self
pub fn with_low_watermark(&mut self, low: usize) -> &mut Self
pub fn with_high_watermark(&mut self, high: usize) -> &mut Self
pub fn stop_sending(&mut self, error_code: Error) -> &mut Self
pub fn poll(
&mut self,
context: Option<&Context<'_>>
) -> Result<Response, StreamError>
Trait Implementations
Auto Trait Implementations
impl<'state, 'chunks> !RefUnwindSafe for RxRequest<'state, 'chunks>
impl<'state, 'chunks> Send for RxRequest<'state, 'chunks>
impl<'state, 'chunks> Sync for RxRequest<'state, 'chunks>
impl<'state, 'chunks> Unpin for RxRequest<'state, 'chunks>
impl<'state, 'chunks> !UnwindSafe for RxRequest<'state, 'chunks>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F> IntoFuture for F where
F: Future,
impl<F> IntoFuture for F where
F: Future,
type Output = <F as Future>::Output
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type IntoFuture = F
type IntoFuture = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.