[−][src]Struct actix_service::blank::Blank
Empty service
Methods
impl<R, E> Blank<R, E>[src]
impl<R> Blank<R, ()>[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.
fn poll_ready(&mut self) -> Poll<(), Self::Error>[src]
fn call(&mut self, req: R) -> Self::Future[src]
Auto Trait Implementations
impl<R, E> RefUnwindSafe for Blank<R, E> where
E: RefUnwindSafe,
R: RefUnwindSafe,
E: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, E> Send for Blank<R, E> where
E: Send,
R: Send,
E: Send,
R: Send,
impl<R, E> Sync for Blank<R, E> where
E: Sync,
R: Sync,
E: Sync,
R: Sync,
impl<R, E> Unpin for Blank<R, E> where
E: Unpin,
R: Unpin,
E: Unpin,
R: Unpin,
impl<R, E> UnwindSafe for Blank<R, E> where
E: UnwindSafe,
R: UnwindSafe,
E: UnwindSafe,
R: 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> IntoService<T> for T where
T: Service, [src]
T: Service,
fn into_service(Self) -> T[src]
impl<T> ServiceExt for T where
T: Service + ?Sized, [src]
T: Service + ?Sized,
fn apply_fn<F, B, B1, Out>(
self,
service: B1,
f: F
) -> AndThenApply<Self, B, F, Out> where
Self: Sized,
F: FnMut(Self::Response, &mut B) -> Out,
Out: IntoFuture,
Out::Error: Into<Self::Error>,
B: Service<Error = Self::Error>,
B1: IntoService<B>, [src]
self,
service: B1,
f: F
) -> AndThenApply<Self, B, F, Out> where
Self: Sized,
F: FnMut(Self::Response, &mut B) -> Out,
Out: IntoFuture,
Out::Error: Into<Self::Error>,
B: Service<Error = Self::Error>,
B1: IntoService<B>,
fn and_then<F, B>(self, service: F) -> AndThen<Self, B> where
Self: Sized,
F: IntoService<B>,
B: Service<Request = Self::Response, Error = Self::Error>, [src]
Self: Sized,
F: IntoService<B>,
B: Service<Request = Self::Response, Error = Self::Error>,
fn from_err<E>(self) -> FromErr<Self, E> where
Self: Sized,
E: From<Self::Error>, [src]
Self: Sized,
E: From<Self::Error>,
fn then<B>(self, service: B) -> Then<Self, B> where
Self: Sized,
B: Service<Request = Result<Self::Response, Self::Error>, Error = Self::Error>, [src]
Self: Sized,
B: Service<Request = Result<Self::Response, Self::Error>, Error = Self::Error>,
fn map<F, R>(self, f: F) -> Map<Self, F, R> where
Self: Sized,
F: FnMut(Self::Response) -> R, [src]
Self: Sized,
F: FnMut(Self::Response) -> R,
fn map_err<F, E>(self, f: F) -> MapErr<Self, F, E> where
Self: Sized,
F: Fn(Self::Error) -> E, [src]
Self: Sized,
F: Fn(Self::Error) -> E,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
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>,