pub struct ReceiveBody(/* private fields */);Expand description
The response body of
ReceiveEndpoint::handle.
The body is Send and Unpin. It is empty, or it holds one whole frame
of the push protocol. When the body of a CommitReply drops, it gives
the report of the commit to
EndpointOptions::on_report.
Trait Implementations§
Source§impl Body for ReceiveBody
impl Body for ReceiveBody
Auto Trait Implementations§
impl !Freeze for ReceiveBody
impl !RefUnwindSafe for ReceiveBody
impl !Sync for ReceiveBody
impl !UnwindSafe for ReceiveBody
impl Forget for ReceiveBody
impl Move for ReceiveBody
impl Send for ReceiveBody
impl Unpin for ReceiveBody
impl UnsafeUnpin for ReceiveBodywhere
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const dyn AsyncRead + Unpin + Send is !null: UnsafeUnpin,
PhantomData<dyn AsyncRead + Unpin + Send>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Stall> is !null: UnsafeUnpin,
PhantomData<ArcInner<Stall>>: UnsafeUnpin,
PhantomData<ReceiveRefOutcome>: UnsafeUnpin,
PhantomData<ReceiveWarning>: UnsafeUnpin,
*const ArcInner<dyn Fn(ReceiveReport) + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(ReceiveReport) + Sync + Send>>: UnsafeUnpin,
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