[−][src]Struct finchers::endpoints::header::Matches
Trait Implementations
impl<T: PartialEq<HeaderValue>> IsEndpoint for Matches<T>
[src]
impl<T: PartialEq<HeaderValue>> IsEndpoint for Matches<T>
fn boxed<Bd, T>(self) -> EndpointObj<Bd, T> where
Self: Endpoint<Bd, Output = T> + Send + Sync + 'static + Sized,
Self::Action: Send + 'static,
T: Tuple,
[src]
fn boxed<Bd, T>(self) -> EndpointObj<Bd, T> where
Self: Endpoint<Bd, Output = T> + Send + Sync + 'static + Sized,
Self::Action: Send + 'static,
T: Tuple,
Converts this endpoint into an EndpointObj
.
fn boxed_local<Bd, T>(self) -> LocalEndpointObj<Bd, T> where
Self: Endpoint<Bd, Output = T> + 'static + Sized,
Self::Action: 'static,
T: Tuple,
[src]
fn boxed_local<Bd, T>(self) -> LocalEndpointObj<Bd, T> where
Self: Endpoint<Bd, Output = T> + 'static + Sized,
Self::Action: 'static,
T: Tuple,
Converts this endpoint into a LocalEndpointObj
.
impl<T, Bd> Endpoint<Bd> for Matches<T> where
T: PartialEq<HeaderValue> + Clone,
[src]
impl<T, Bd> Endpoint<Bd> for Matches<T> where
T: PartialEq<HeaderValue> + Clone,
type Output = ()
The type of value that will be returned from Action
.
type Action = Oneshot<MatchesAction<T>>
The type of EndpointAction
associated with this endpoint.
fn action(&self) -> Self::Action
[src]
fn action(&self) -> Self::Action
fn with_output<T: Tuple>(self) -> Self where
Self: Endpoint<Bd, Output = T> + Sized,
[src]
fn with_output<T: Tuple>(self) -> Self where
Self: Endpoint<Bd, Output = T> + Sized,
Add an annotation that the associated type Output
is fixed to T
.
impl<T: Debug> Debug for Matches<T>
[src]
impl<T: Debug> Debug for Matches<T>
Auto Trait Implementations
Blanket Implementations
impl<E> EndpointExt for E where
E: IsEndpoint,
[src]
impl<E> EndpointExt for E where
E: IsEndpoint,
fn and<E>(self, other: E) -> And<Self, E>
[src]
fn and<E>(self, other: E) -> And<Self, E>
Create an endpoint which evaluates self
and e
and returns a pair of their tasks. Read more
fn or<E>(self, other: E) -> Or<Self, E>
[src]
fn or<E>(self, other: E) -> Or<Self, E>
Create an endpoint which evaluates self
and e
sequentially. Read more
fn or_strict<E>(self, other: E) -> OrStrict<Self, E>
[src]
fn or_strict<E>(self, other: E) -> OrStrict<Self, E>
Create an endpoint which evaluates self
and e
sequentially. Read more
fn map<F>(self, f: F) -> Map<Self, F>
[src]
fn map<F>(self, f: F) -> Map<Self, F>
fn and_then<F>(self, f: F) -> AndThen<Self, F>
[src]
fn and_then<F>(self, f: F) -> AndThen<Self, F>
fn map_err<F>(self, f: F) -> MapErr<Self, F>
[src]
fn map_err<F>(self, f: F) -> MapErr<Self, F>
fn recover<F>(self, f: F) -> Recover<Self, F>
[src]
fn recover<F>(self, f: F) -> Recover<Self, F>
impl<E> EndpointServiceExt for E where
E: IsEndpoint,
[src]
impl<E> EndpointServiceExt for E where
E: IsEndpoint,
fn into_service(Self) -> App<E>
[src]
fn into_service(Self) -> App<E>
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Erased for T
impl<T> Erased for T