Struct finchers_http::query::Query
[−]
[src]
pub struct Query<T> { /* fields omitted */ }
Trait Implementations
impl<T> Copy for Query<T>
[src]
impl<T> Clone for Query<T>
[src]
fn clone(&self) -> Self
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T> Debug for Query<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T> Endpoint for Query<T> where
T: FromQuery,
[src]
T: FromQuery,
type Output = Result<T, QueryError<T::Error>>
The inner type associated with this endpoint.
type Task = QueryTask<T>
The type of value which will be returned from apply
.
fn apply(&self, _: &mut Context) -> Option<Self::Task>
[src]
Perform checking the incoming HTTP request and returns an instance of the associated task if matched. Read more
fn apply_request(
&self,
input: &Input,
body: RequestBody
) -> ApplyRequest<Self::Task>
[src]
&self,
input: &Input,
body: RequestBody
) -> ApplyRequest<Self::Task>
Create an asyncrhonous computation from a request.