pub struct BufferResponses<S, B> { /* private fields */ }Expand description
Struct responsible for buffering and yielding responses to the request we’re polling for.
For more information, see the module documentation.
Trait Implementations§
Source§impl<P: PlatformTypes, B: Map<(SocketAddr, Token, Type), Addrd<Resp<P>>>, E: Error, S: Step<P, PollReq = Addrd<Req<P>>, PollResp = Addrd<Resp<P>>, Error = E>> Step<P> for BufferResponses<S, B>
impl<P: PlatformTypes, B: Map<(SocketAddr, Token, Type), Addrd<Resp<P>>>, E: Error, S: Step<P, PollReq = Addrd<Req<P>>, PollResp = Addrd<Resp<P>>, Error = E>> Step<P> for BufferResponses<S, B>
Source§fn poll_req(
&self,
snap: &Snapshot<P>,
effects: &mut <P as PlatformTypes>::Effects,
) -> StepOutput<Self::PollReq, Self::Error>
fn poll_req( &self, snap: &Snapshot<P>, effects: &mut <P as PlatformTypes>::Effects, ) -> StepOutput<Self::PollReq, Self::Error>
Poll for an inbound request Read more
Source§fn poll_resp(
&self,
snap: &Snapshot<P>,
effects: &mut <P as PlatformTypes>::Effects,
token: Token,
addr: SocketAddr,
) -> StepOutput<Self::PollResp, Self::Error>
fn poll_resp( &self, snap: &Snapshot<P>, effects: &mut <P as PlatformTypes>::Effects, token: Token, addr: SocketAddr, ) -> StepOutput<Self::PollResp, Self::Error>
Poll for an inbound response Read more
Source§fn notify<Path>(
&self,
path: Path,
effects: &mut P::Effects,
) -> Result<(), Self::Error>
fn notify<Path>( &self, path: Path, effects: &mut P::Effects, ) -> Result<(), Self::Error>
Update Observers Read more
Auto Trait Implementations§
impl<S, B> !Freeze for BufferResponses<S, B>
impl<S, B> RefUnwindSafe for BufferResponses<S, B>where
S: RefUnwindSafe,
impl<S, B> Send for BufferResponses<S, B>
impl<S, B> Sync for BufferResponses<S, B>
impl<S, B> Unpin for BufferResponses<S, B>
impl<S, B> UnsafeUnpin for BufferResponses<S, B>where
S: UnsafeUnpin,
B: UnsafeUnpin,
impl<S, B> UnwindSafe for BufferResponses<S, B>where
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
Source§impl<F, A, TF, T> Sequence<F, A, TF> for T
impl<F, A, TF, T> Sequence<F, A, TF> for T
Source§fn sequence<Ap>(self) -> <Ap as HKT1>::T<<F as HKT1>::T<A>>where
Self: Sized + Traversable<F, <Ap as HKT1>::T<A>, A, TF> + Foldable<F, <Ap as HKT1>::T<A>>,
Ap: HKT1,
<Ap as HKT1>::T<A>: Applicative<Ap, A> + ApplyOnce<Ap, A>,
<Ap as HKT1>::T<TF>: Applicative<Ap, TF> + ApplyOnce<Ap, TF>,
<Ap as HKT1>::T<<F as HKT1>::T<A>>: Applicative<Ap, <F as HKT1>::T<A>> + ApplyOnce<Ap, <F as HKT1>::T<A>>,
F: HKT1<T<<Ap as HKT1>::T<A>> = Self>,
fn sequence<Ap>(self) -> <Ap as HKT1>::T<<F as HKT1>::T<A>>where
Self: Sized + Traversable<F, <Ap as HKT1>::T<A>, A, TF> + Foldable<F, <Ap as HKT1>::T<A>>,
Ap: HKT1,
<Ap as HKT1>::T<A>: Applicative<Ap, A> + ApplyOnce<Ap, A>,
<Ap as HKT1>::T<TF>: Applicative<Ap, TF> + ApplyOnce<Ap, TF>,
<Ap as HKT1>::T<<F as HKT1>::T<A>>: Applicative<Ap, <F as HKT1>::T<A>> + ApplyOnce<Ap, <F as HKT1>::T<A>>,
F: HKT1<T<<Ap as HKT1>::T<A>> = Self>,
See
Sequence