[−][src]Struct actix_interop::StreamInteropWrap
Stream to ActorStream adapter returned by interop_actor
.
Trait Implementations
impl<A: Actor, S: Stream> ActorStream for StreamInteropWrap<A, S>
[src]
type Actor = A
The actor within which this stream runs.
type Item = S::Item
The type of item this stream will yield on success.
fn poll_next(
self: Pin<&mut Self>,
actor: &mut A,
ctx: &mut A::Context,
task: &mut Context
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
actor: &mut A,
ctx: &mut A::Context,
task: &mut Context
) -> Poll<Option<Self::Item>>
fn map<U, F>(self, f: F) -> StreamMap<Self, F> where
F: FnMut(Self::Item, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> U,
[src]
F: FnMut(Self::Item, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> U,
fn then<F, U>(self, f: F) -> StreamThen<Self, F, U> where
F: FnMut(Self::Item, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> U,
Self: Unpin,
U: IntoActorFuture<Actor = Self::Actor>,
[src]
F: FnMut(Self::Item, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> U,
Self: Unpin,
U: IntoActorFuture<Actor = Self::Actor>,
fn fold<F, T, Fut>(self, init: T, f: F) -> StreamFold<Self, F, Fut, T> where
F: FnMut(T, Self::Item, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> Fut,
Fut: IntoActorFuture<Actor = Self::Actor, Output = T>,
[src]
F: FnMut(T, Self::Item, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> Fut,
Fut: IntoActorFuture<Actor = Self::Actor, Output = T>,
fn timeout(self, timeout: Duration) -> StreamTimeout<Self> where
Self: Unpin,
[src]
Self: Unpin,
fn finish(self) -> StreamFinish<Self> where
Self: Unpin,
[src]
Self: Unpin,
impl<A: Debug + Actor, S: Debug> Debug for StreamInteropWrap<A, S> where
A::Context: Debug,
[src]
A::Context: Debug,
impl<A: Actor, S> PinnedDrop for StreamInteropWrap<A, S>
[src]
impl<'pin, A: Actor, S> Unpin for StreamInteropWrap<A, S> where
__StreamInteropWrap<'pin, A, S>: Unpin,
[src]
__StreamInteropWrap<'pin, A, S>: Unpin,
Auto Trait Implementations
impl<A, S> RefUnwindSafe for StreamInteropWrap<A, S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<A, S> Send for StreamInteropWrap<A, S> where
S: Send,
S: Send,
impl<A, S> Sync for StreamInteropWrap<A, S> where
S: Sync,
S: Sync,
impl<A, S> UnwindSafe for StreamInteropWrap<A, S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
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,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,