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: ?Sized, Prev> RefUnwindSafe for WithRequestPayloadSlice<'payload, S, Prev>where
Prev: RefUnwindSafe,
S: RefUnwindSafe,
impl<'payload, S: ?Sized, Prev> Send for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S: ?Sized, Prev> Sync for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S: ?Sized, Prev> Unpin for WithRequestPayloadSlice<'payload, S, Prev>
impl<'payload, S: ?Sized, Prev> UnwindSafe for WithRequestPayloadSlice<'payload, S, Prev>where
Prev: UnwindSafe,
S: UnwindSafe,
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