[][src]Trait finchers::endpoint::IsEndpoint

pub trait IsEndpoint {
    fn boxed<Bd, T>(self) -> EndpointObj<Bd, T>
    where
        Self: Endpoint<Bd, Output = T> + Send + Sync + 'static + Sized,
        Self::Action: Send + 'static,
        T: Tuple
, { ... }
fn boxed_local<Bd, T>(self) -> LocalEndpointObj<Bd, T>
    where
        Self: Endpoint<Bd, Output = T> + 'static + Sized,
        Self::Action: 'static,
        T: Tuple
, { ... } }

A trait indicating that the type has an implementation of Endpoint<Bd>.

The purpose of this trait is to implement the extension methods to Endpoints in situation when the type of request body is unknown.

Provided Methods

Converts this endpoint into an EndpointObj.

Converts this endpoint into a LocalEndpointObj.

Implementations on Foreign Types

impl<'a, E: IsEndpoint + ?Sized> IsEndpoint for &'a E
[src]

impl<E: IsEndpoint + ?Sized> IsEndpoint for Box<E>
[src]

impl<E: IsEndpoint + ?Sized> IsEndpoint for Rc<E>
[src]

impl<E: IsEndpoint + ?Sized> IsEndpoint for Arc<E>
[src]

Implementors

impl IsEndpoint for MatchEos
[src]

impl IsEndpoint for MatchSegment
[src]

impl IsEndpoint for MatchVerbConnect
[src]

impl IsEndpoint for MatchVerbDelete
[src]

impl IsEndpoint for MatchVerbGet
[src]

impl IsEndpoint for MatchVerbHead
[src]

impl IsEndpoint for MatchVerbOptions
[src]

impl IsEndpoint for MatchVerbPatch
[src]

impl IsEndpoint for MatchVerbPost
[src]

impl IsEndpoint for MatchVerbPut
[src]

impl IsEndpoint for MatchVerbTrace
[src]

impl IsEndpoint for MatchVerbs
[src]

impl IsEndpoint for finchers::endpoints::body::Raw
[src]

impl IsEndpoint for ReceiveAll
[src]

impl IsEndpoint for Text
[src]

impl IsEndpoint for Dir
[src]

impl IsEndpoint for File
[src]

impl IsEndpoint for finchers::endpoints::header::Raw
[src]

impl IsEndpoint for finchers::endpoints::query::Raw
[src]

impl<Bd, T> IsEndpoint for EndpointObj<Bd, T> where
    T: Tuple, 
[src]

impl<Bd, T> IsEndpoint for LocalEndpointObj<Bd, T> where
    T: Tuple, 
[src]

impl<E1: IsEndpoint, E2: IsEndpoint> IsEndpoint for And<E1, E2>
[src]

impl<E1: IsEndpoint, E2: IsEndpoint> IsEndpoint for Or<E1, E2>
[src]

impl<E1: IsEndpoint, E2: IsEndpoint> IsEndpoint for OrStrict<E1, E2>
[src]

impl<E: IsEndpoint, F> IsEndpoint for AndThen<E, F>
[src]

impl<E: IsEndpoint, F> IsEndpoint for Map<E, F>
[src]

impl<E: IsEndpoint, F> IsEndpoint for MapErr<E, F>
[src]

impl<E: IsEndpoint, F> IsEndpoint for Recover<E, F>
[src]

impl<T> IsEndpoint for Path<T> where
    T: ExtractPath
[src]

impl<T: FromEncodedStr> IsEndpoint for Param<T>
[src]

impl<T: FromEncodedStr> IsEndpoint for Remains<T>
[src]

impl<T: FromHeaderValue> IsEndpoint for finchers::endpoints::header::Optional<T>
[src]

impl<T: FromHeaderValue> IsEndpoint for Parse<T>
[src]

impl<T: PartialEq<HeaderValue>> IsEndpoint for Matches<T>
[src]

impl<T: DeserializeOwned> IsEndpoint for Json<T>
[src]

impl<T: DeserializeOwned> IsEndpoint for Urlencoded<T>
[src]

impl<T: DeserializeOwned> IsEndpoint for Required<T>
[src]

impl<T: DeserializeOwned> IsEndpoint for finchers::endpoints::query::Optional<T>
[src]