[−][src]Trait jsonrpc_v2::FromRequest
A trait to extract data from the request
Associated Types
type Result: IntoFuture<Item = Self, Error = Error>
Required methods
fn from_request(req: &RequestObjectWithState<S>) -> Self::Result
Implementations on Foreign Types
impl<S> FromRequest<S> for ()
[src]
type Result = Result<Self, Error>
fn from_request(_: &RequestObjectWithState<S>) -> Self::Result
[src]
impl<S, T1> FromRequest<S> for (T1,) where
T1: FromRequest<S>,
<<T1 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
[src]
T1: FromRequest<S>,
<<T1 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
type Result = Box<dyn Future<Item = (T1,), Error = Error>>
fn from_request(req: &RequestObjectWithState<S>) -> Self::Result
[src]
impl<S, T1, T2> FromRequest<S> for (T1, T2) where
T1: FromRequest<S>,
T2: FromRequest<S>,
<<T1 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
<<T2 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
[src]
T1: FromRequest<S>,
T2: FromRequest<S>,
<<T1 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
<<T2 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
type Result = Box<dyn Future<Item = (T1, T2), Error = Error>>
fn from_request(req: &RequestObjectWithState<S>) -> Self::Result
[src]
impl<S, T1, T2, T3> FromRequest<S> for (T1, T2, T3) where
T1: FromRequest<S>,
T2: FromRequest<S>,
T3: FromRequest<S>,
<<T1 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
<<T2 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
<<T3 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
[src]
T1: FromRequest<S>,
T2: FromRequest<S>,
T3: FromRequest<S>,
<<T1 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
<<T2 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,
<<T3 as FromRequest<S>>::Result as IntoFuture>::Future: 'static,