[][src]Struct actix_utils::stream::StreamService

pub struct StreamService<S, T: NewService, E> { /* fields omitted */ }

Trait Implementations

impl<S, T, E> Service for StreamService<S, T, E> where
    S: IntoStream + 'static,
    T: NewService<Request = Result<<S as IntoStream>::Item, <S as IntoStream>::Error>, Response = (), Error = E, InitError = E>,
    T::Future: 'static,
    T::Service: 'static,
    <T::Service as Service>::Future: 'static, 
[src]

type Request = S

Requests handled by the service.

type Response = ()

Responses given by the service.

type Error = E

Errors produced by the service.

type Future = Box<dyn Future<Item = (), Error = E>>

The future response value.

Auto Trait Implementations

impl<S, T, E> !Send for StreamService<S, T, E>

impl<S, T, E> !Sync for StreamService<S, T, E>

impl<S, T, E> Unpin for StreamService<S, T, E> where
    E: Unpin,
    S: Unpin,
    <T as NewService>::Config: Unpin

impl<S, T, E> UnwindSafe for StreamService<S, T, E> where
    E: UnwindSafe,
    S: UnwindSafe,
    T: RefUnwindSafe,
    <T as NewService>::Config: UnwindSafe

impl<S, T, E> !RefUnwindSafe for StreamService<S, T, E>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoService<T> for T where
    T: Service
[src]

impl<T> ServiceExt for T where
    T: Service + ?Sized
[src]