[][src]Struct actix_request_identifier::RequestIdMiddleware

pub struct RequestIdMiddleware<S> { /* fields omitted */ }

ID wrapper for requests.

Trait Implementations

impl<S, B> Service for RequestIdMiddleware<S> where
    S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, Error = ActixError>,
    S::Future: 'static,
    B: 'static, 
[src]

type Request = S::Request

Requests handled by the service.

type Response = S::Response

Responses given by the service.

type Error = S::Error

Errors produced by the service.

type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>>>>

The future response value.

Auto Trait Implementations

impl<S> RefUnwindSafe for RequestIdMiddleware<S> where
    S: RefUnwindSafe

impl<S> Send for RequestIdMiddleware<S> where
    S: Send

impl<S> Sync for RequestIdMiddleware<S> where
    S: Sync

impl<S> Unpin for RequestIdMiddleware<S> where
    S: Unpin

impl<S> UnwindSafe for RequestIdMiddleware<S> where
    S: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> IntoService<T> for T where
    T: Service, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,