pub struct Recv<'a, 'b, T, NS>{ /* private fields */ }Trait Implementations§
Source§impl<T, NS> Future for Recv<'_, '_, T, NS>
impl<T, NS> Future for Recv<'_, '_, T, NS>
Source§type Output = Result<HeaderMessage<T>, HeaderMessage<ProtocolError>>
type Output = Result<HeaderMessage<T>, HeaderMessage<ProtocolError>>
The type of value produced on completion.
Auto Trait Implementations§
impl<'a, 'b, T, NS> Freeze for Recv<'a, 'b, T, NS>
impl<'a, 'b, T, NS> !RefUnwindSafe for Recv<'a, 'b, T, NS>
impl<'a, 'b, T, NS> Send for Recv<'a, 'b, T, NS>where
T: Send,
impl<'a, 'b, T, NS> Sync for Recv<'a, 'b, T, NS>where
T: Send,
impl<'a, 'b, T, NS> Unpin for Recv<'a, 'b, T, NS>
impl<'a, 'b, T, NS> !UnwindSafe for Recv<'a, 'b, T, NS>
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,
Source§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