pub struct WithRequestPayloadSlice<'payload, S: Stack + ?Sized, Prev: Builder<S>> { /* private fields */ }
Implementations§
Source§impl<'payload, S: Stack + ?Sized, Prev: Builder<S, Output = Result<(), ()>>> WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S: Stack + ?Sized, Prev: Builder<S, Output = Result<(), ()>>> WithRequestPayloadSlice<'payload, S, Prev>
Sourcepub fn processing_response_payload_through<O, F2>(
self,
f: F2,
) -> ProcessingResponse<S, Self, O, F2>
pub fn processing_response_payload_through<O, F2>( self, f: F2, ) -> ProcessingResponse<S, Self, O, F2>
Provide the response payload to a user callback.
Trait Implementations§
Source§impl<'payload, S: Stack + ?Sized, Prev: Builder<S>> Request<S> for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S: Stack + ?Sized, Prev: Builder<S>> Request<S> for WithRequestPayloadSlice<'payload, S, Prev>
type Carry = <Prev as Request<S>>::Carry
type Output = <Prev as Request<S>>::Output
Source§async fn build_request(
&mut self,
req: &mut S::RequestMessage<'_>,
) -> Result<Self::Carry, S::RequestUnionError>
async fn build_request( &mut self, req: &mut S::RequestMessage<'_>, ) -> Result<Self::Carry, S::RequestUnionError>
Build the request message Read more
Source§async fn process_response(
&mut self,
res: &S::ResponseMessage<'_>,
carry: Self::Carry,
) -> Self::Output
async fn process_response( &mut self, res: &S::ResponseMessage<'_>, carry: Self::Carry, ) -> Self::Output
Process the response message Read more
Auto Trait Implementations§
impl<'payload, S, Prev> Freeze for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S, Prev> RefUnwindSafe for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S, Prev> Send for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S, Prev> Sync for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S, Prev> Unpin for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S, Prev> UnwindSafe for WithRequestPayloadSlice<'payload, S, Prev>
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