[−][src]Trait finchers::endpoint::Endpoint
Trait representing an endpoint, the main trait for abstracting HTTP services in Finchers.
The endpoint behaves as an asynchronous process that takes
an HTTP request and convert it into a value of the associated type.
The process that handles an request is abstracted by EndpointAction,
and that instances are constructed by Endpoint for each request.
Associated Types
type Output: Tuple
The type of value that will be returned from Action.
type Action: EndpointAction<Bd, Output = Self::Output>
The type of EndpointAction associated with this endpoint.
Required Methods
Provided Methods
fn with_output<T: Tuple>(self) -> Self where
Self: Endpoint<Bd, Output = T> + Sized,
Self: Endpoint<Bd, Output = T> + Sized,
Add an annotation that the associated type Output is fixed to T.
Implementations on Foreign Types
impl<'a, E, Bd> Endpoint<Bd> for &'a E where
E: Endpoint<Bd>, [src]
impl<'a, E, Bd> Endpoint<Bd> for &'a E where
E: Endpoint<Bd>, type Output = E::Output
type Action = E::Action
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E, Bd> Endpoint<Bd> for Box<E> where
E: Endpoint<Bd>, [src]
impl<E, Bd> Endpoint<Bd> for Box<E> where
E: Endpoint<Bd>, type Output = E::Output
type Action = E::Action
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E, Bd> Endpoint<Bd> for Rc<E> where
E: Endpoint<Bd>, [src]
impl<E, Bd> Endpoint<Bd> for Rc<E> where
E: Endpoint<Bd>, type Output = E::Output
type Action = E::Action
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E, Bd> Endpoint<Bd> for Arc<E> where
E: Endpoint<Bd>, [src]
impl<E, Bd> Endpoint<Bd> for Arc<E> where
E: Endpoint<Bd>, type Output = E::Output
type Action = E::Action
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, Implementors
impl<Bd> Endpoint<Bd> for MatchEos[src]
impl<Bd> Endpoint<Bd> for MatchEostype Output = ()
type Action = Oneshot<MatchEosAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchSegment[src]
impl<Bd> Endpoint<Bd> for MatchSegmenttype Output = ()
type Action = Oneshot<MatchSegmentAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbConnect[src]
impl<Bd> Endpoint<Bd> for MatchVerbConnecttype Output = ()
type Action = Oneshot<MatchVerbConnectAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbDelete[src]
impl<Bd> Endpoint<Bd> for MatchVerbDeletetype Output = ()
type Action = Oneshot<MatchVerbDeleteAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbGet[src]
impl<Bd> Endpoint<Bd> for MatchVerbGettype Output = ()
type Action = Oneshot<MatchVerbGetAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbHead[src]
impl<Bd> Endpoint<Bd> for MatchVerbHeadtype Output = ()
type Action = Oneshot<MatchVerbVerbAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbOptions[src]
impl<Bd> Endpoint<Bd> for MatchVerbOptionstype Output = ()
type Action = Oneshot<MatchVerbOptionsAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbPatch[src]
impl<Bd> Endpoint<Bd> for MatchVerbPatchtype Output = ()
type Action = Oneshot<MatchVerbPatchAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbPost[src]
impl<Bd> Endpoint<Bd> for MatchVerbPosttype Output = ()
type Action = Oneshot<MatchVerbPostAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbPut[src]
impl<Bd> Endpoint<Bd> for MatchVerbPuttype Output = ()
type Action = Oneshot<MatchVerbPutAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbTrace[src]
impl<Bd> Endpoint<Bd> for MatchVerbTracetype Output = ()
type Action = Oneshot<MatchVerbTraceAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for MatchVerbs[src]
impl<Bd> Endpoint<Bd> for MatchVerbstype Output = ()
type Action = Oneshot<MatchVerbsAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for finchers::endpoints::body::Raw[src]
impl<Bd> Endpoint<Bd> for finchers::endpoints::body::Rawtype Output = (Bd,)
type Action = RawAction<Bd>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for ReceiveAll where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>, [src]
impl<Bd> Endpoint<Bd> for ReceiveAll where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>, type Output = (Vec<u8>,)
type Action = ReceiveAllAction<Bd>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for Text where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>, [src]
impl<Bd> Endpoint<Bd> for Text where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>, type Output = (String,)
type Action = TextAction<Bd>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for Dir[src]
impl<Bd> Endpoint<Bd> for Dirtype Output = (NamedFile,)
type Action = DirAction
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for File[src]
impl<Bd> Endpoint<Bd> for Filetype Output = (NamedFile,)
type Action = FileAction<Bd>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for finchers::endpoints::header::Raw[src]
impl<Bd> Endpoint<Bd> for finchers::endpoints::header::Rawtype Output = (Option<HeaderValue>,)
type Action = Oneshot<RawAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd> Endpoint<Bd> for finchers::endpoints::query::Raw[src]
impl<Bd> Endpoint<Bd> for finchers::endpoints::query::Rawtype Output = (Option<String>,)
type Action = Oneshot<RawAction>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd, T> Endpoint<Bd> for EndpointObj<Bd, T> where
T: Tuple, [src]
impl<Bd, T> Endpoint<Bd> for EndpointObj<Bd, T> where
T: Tuple, type Output = T
type Action = EndpointActionObj<Bd, T>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<Bd, T> Endpoint<Bd> for LocalEndpointObj<Bd, T> where
T: Tuple, [src]
impl<Bd, T> Endpoint<Bd> for LocalEndpointObj<Bd, T> where
T: Tuple, type Output = T
type Action = LocalEndpointActionObj<Bd, T>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E, F, Bd> Endpoint<Bd> for Map<E, F> where
E: Endpoint<Bd>,
F: Func<E::Output> + Clone, [src]
impl<E, F, Bd> Endpoint<Bd> for Map<E, F> where
E: Endpoint<Bd>,
F: Func<E::Output> + Clone, type Output = (F::Out,)
type Action = MapAction<E::Action, F>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E, F, Bd, R> Endpoint<Bd> for AndThen<E, F> where
E: Endpoint<Bd>,
F: Func<E::Output, Out = R> + Clone,
R: IntoFuture,
R::Error: Into<Error>, [src]
impl<E, F, Bd, R> Endpoint<Bd> for AndThen<E, F> where
E: Endpoint<Bd>,
F: Func<E::Output, Out = R> + Clone,
R: IntoFuture,
R::Error: Into<Error>, type Output = (R::Item,)
type Action = AndThenAction<E::Action, R::Future, F>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E, F, Bd, R> Endpoint<Bd> for MapErr<E, F> where
E: Endpoint<Bd>,
F: Fn(Error) -> R + Clone,
R: Into<Error>, [src]
impl<E, F, Bd, R> Endpoint<Bd> for MapErr<E, F> where
E: Endpoint<Bd>,
F: Fn(Error) -> R + Clone,
R: Into<Error>, type Output = E::Output
type Action = MapErrAction<E::Action, F>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E, F, Bd, R> Endpoint<Bd> for Recover<E, F> where
E: Endpoint<Bd, Output = (R::Item,)>,
F: Fn(Error) -> R + Clone,
R: IntoFuture,
R::Error: Into<Error>, [src]
impl<E, F, Bd, R> Endpoint<Bd> for Recover<E, F> where
E: Endpoint<Bd, Output = (R::Item,)>,
F: Fn(Error) -> R + Clone,
R: IntoFuture,
R::Error: Into<Error>, type Output = (R::Item,)
type Action = RecoverAction<E::Action, R::Future, F>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E1, E2, Bd> Endpoint<Bd> for And<E1, E2> where
E1: Endpoint<Bd>,
E2: Endpoint<Bd>,
E1::Output: Combine<E2::Output>, [src]
impl<E1, E2, Bd> Endpoint<Bd> for And<E1, E2> where
E1: Endpoint<Bd>,
E2: Endpoint<Bd>,
E1::Output: Combine<E2::Output>, type Output = <E1::Output as Combine<E2::Output>>::Out
type Action = AndAction<Bd, E1::Action, E2::Action>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E1, E2, Bd> Endpoint<Bd> for OrStrict<E1, E2> where
E1: Endpoint<Bd>,
E2: Endpoint<Bd, Output = E1::Output>, [src]
impl<E1, E2, Bd> Endpoint<Bd> for OrStrict<E1, E2> where
E1: Endpoint<Bd>,
E2: Endpoint<Bd, Output = E1::Output>, type Output = E1::Output
type Action = OrStrictAction<E1::Action, E2::Action>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<E1, E2, T1, T2, Bd> Endpoint<Bd> for Or<E1, E2> where
E1: Endpoint<Bd, Output = (T1,)>,
E2: Endpoint<Bd, Output = (T2,)>, [src]
impl<E1, E2, T1, T2, Bd> Endpoint<Bd> for Or<E1, E2> where
E1: Endpoint<Bd, Output = (T1,)>,
E2: Endpoint<Bd, Output = (T2,)>, type Output = (Either<T1, T2>,)
type Action = OrAction<E1::Action, E2::Action>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for Param<T> where
T: FromEncodedStr, [src]
impl<T, Bd> Endpoint<Bd> for Param<T> where
T: FromEncodedStr, type Output = (T,)
type Action = Oneshot<ParamAction<T>>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for Path<T> where
T: ExtractPath, [src]
impl<T, Bd> Endpoint<Bd> for Path<T> where
T: ExtractPath, type Output = T::Output
type Action = Oneshot<PathAction<T>>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for Remains<T> where
T: FromEncodedStr, [src]
impl<T, Bd> Endpoint<Bd> for Remains<T> where
T: FromEncodedStr, type Output = (T,)
type Action = Oneshot<RemainsAction<T>>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for Json<T> where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>,
T: DeserializeOwned, [src]
impl<T, Bd> Endpoint<Bd> for Json<T> where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>,
T: DeserializeOwned, type Output = (T,)
type Action = JsonAction<Bd, T>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for Urlencoded<T> where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>,
T: DeserializeOwned, [src]
impl<T, Bd> Endpoint<Bd> for Urlencoded<T> where
Bd: BufStream,
Bd::Error: Into<Box<dyn Error + Send + Sync + 'static>>,
T: DeserializeOwned, type Output = (T,)
type Action = UrlencodedAction<Bd, T>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, 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 = ()
type Action = Oneshot<MatchesAction<T>>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for finchers::endpoints::header::Optional<T> where
T: FromHeaderValue, [src]
impl<T, Bd> Endpoint<Bd> for finchers::endpoints::header::Optional<T> where
T: FromHeaderValue, type Output = (Option<T>,)
type Action = Oneshot<OptionalAction<T>>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for Parse<T> where
T: FromHeaderValue, [src]
impl<T, Bd> Endpoint<Bd> for Parse<T> where
T: FromHeaderValue, type Output = (T,)
type Action = Oneshot<ParseAction<T>>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for finchers::endpoints::query::Optional<T> where
T: DeserializeOwned, [src]
impl<T, Bd> Endpoint<Bd> for finchers::endpoints::query::Optional<T> where
T: DeserializeOwned, type Output = (Option<T>,)
type Action = Oneshot<OptionalAction<T>>
fn action(&self) -> Self::Action[src]
fn action(&self) -> Self::Actionfn 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, impl<T, Bd> Endpoint<Bd> for Required<T> where
T: DeserializeOwned, [src]
impl<T, Bd> Endpoint<Bd> for Required<T> where
T: DeserializeOwned,