[][src]Struct actix_service::blank::Blank

pub struct Blank<R, E> { /* fields omitted */ }

Empty service

Methods

impl<R, E> Blank<R, E>[src]

pub fn err<E1>(self) -> Blank<R, E1>[src]

impl<R> Blank<R, ()>[src]

pub fn new<E>() -> Blank<R, E>[src]

Trait Implementations

impl<R: Clone, E: Clone> Clone for Blank<R, E>[src]

impl<R, E> Default for Blank<R, E>[src]

impl<R, E> Service for Blank<R, E>[src]

type Request = R

Requests handled by the service.

type Response = R

Responses given by the service.

type Error = E

Errors produced by the service.

type Future = FutureResult<R, E>

The future response value.

Auto Trait Implementations

impl<R, E> RefUnwindSafe for Blank<R, E> where
    E: RefUnwindSafe,
    R: RefUnwindSafe

impl<R, E> Send for Blank<R, E> where
    E: Send,
    R: Send

impl<R, E> Sync for Blank<R, E> where
    E: Sync,
    R: Sync

impl<R, E> Unpin for Blank<R, E> where
    E: Unpin,
    R: Unpin

impl<R, E> UnwindSafe for Blank<R, E> where
    E: UnwindSafe,
    R: 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
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.