Trait resty::request::params::Parser
[−]
[src]
pub trait Parser: Send + Sync + 'static { type Params; fn expected_params(&self) -> (usize, String); fn parse(&self, uri: &Uri, skip: usize) -> Result<Self::Params, Error>; }
Params Parser
Associated Types
type Params
Returned Parameters type.
Required Methods
fn expected_params(&self) -> (usize, String)
Returns number of expected params and param names.
fn parse(&self, uri: &Uri, skip: usize) -> Result<Self::Params, Error>
Parser URL and return params
Implementors
impl Parser for StdParser type Params = DynamicParams;