pub struct SpawnEach<I: Send + 'static, S: Service<I>> { /* private fields */ }Trait Implementations§
Source§impl<I, S> Service<I> for SpawnEach<I, S>
impl<I, S> Service<I> for SpawnEach<I, S>
type Out = <S as Service<I>>::Out
fn handle( &mut self, input: I, cx: &Context, ) -> impl Stream<Item = Self::Out> + Send
fn handle_stream( &mut self, input: impl Stream<Item = In> + Send, cx: &Context, ) -> impl Stream<Item = Self::Out> + Send
fn finalize(&mut self, _cx: &Context) -> impl Future<Output = ()>where
Self: Sized,
Auto Trait Implementations§
impl<I, S> !Freeze for SpawnEach<I, S>
impl<I, S> !RefUnwindSafe for SpawnEach<I, S>
impl<I, S> Send for SpawnEach<I, S>
impl<I, S> Sync for SpawnEach<I, S>
impl<I, S> Unpin for SpawnEach<I, S>
impl<I, S> !UnwindSafe for SpawnEach<I, S>
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