Struct actix::fut::stream::Collect [−][src]
Future for the collect
method.
Trait Implementations
impl<S, A, C> ActorFuture<A> for Collect<S, C> where
S: ActorStream<A>,
A: Actor,
C: Default + Extend<S::Item>,
[src]
S: ActorStream<A>,
A: Actor,
C: Default + Extend<S::Item>,
type Output = C
The type of value that this future will resolved with if it is successful. Read more
fn poll(
self: Pin<&mut Self>,
act: &mut A,
ctx: &mut A::Context,
task: &mut Context<'_>
) -> Poll<Self::Output>
[src]
self: Pin<&mut Self>,
act: &mut A,
ctx: &mut A::Context,
task: &mut Context<'_>
) -> Poll<Self::Output>
impl<S: Debug, C: Debug> Debug for Collect<S, C>
[src]
impl<'__pin, S, C> Unpin for Collect<S, C> where
__Origin<'__pin, S, C>: Unpin,
[src]
__Origin<'__pin, S, C>: Unpin,
Auto Trait Implementations
impl<S, C> RefUnwindSafe for Collect<S, C> where
C: RefUnwindSafe,
S: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, C> Send for Collect<S, C> where
C: Send,
S: Send,
C: Send,
S: Send,
impl<S, C> Sync for Collect<S, C> where
C: Sync,
S: Sync,
C: Sync,
S: Sync,
impl<S, C> UnwindSafe for Collect<S, C> where
C: UnwindSafe,
S: UnwindSafe,
C: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<F, A> ActorFutureExt<A> for F where
F: ActorFuture<A>,
A: Actor,
[src]
F: ActorFuture<A>,
A: Actor,
fn map<F, U>(self, f: F) -> Map<Self, F> where
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> U,
Self: Sized,
[src]
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> U,
Self: Sized,
fn then<F, Fut>(self, f: F) -> Then<Self, Fut, F> where
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A>,
Self: Sized,
[src]
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A>,
Self: Sized,
fn timeout(self, timeout: Duration) -> Timeout<Self> where
Self: Sized,
[src]
Self: Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,