Trait PathAndQueryUtilities

Source
pub trait PathAndQueryUtilities {
    // Required methods
    fn decoded_path(&self) -> Option<Cow<'_, str>>;
    fn decoded_query(&self) -> Option<Vec<(Cow<'_, str>, Cow<'_, str>)>>;

    // Provided method
    fn decoded_query_map(&self) -> Option<QueryMap> { ... }
}
Expand description

PathAndQuery utilities.

Required Methods§

Source

fn decoded_path(&self) -> Option<Cow<'_, str>>

Decoded path.

Source

fn decoded_query(&self) -> Option<Vec<(Cow<'_, str>, Cow<'_, str>)>>

Decoded query.

Provided Methods§

Source

fn decoded_query_map(&self) -> Option<QueryMap>

Decoded query as map.

Implementations on Foreign Types§

Source§

impl PathAndQueryUtilities for PathAndQuery

Source§

fn decoded_path(&self) -> Option<Cow<'_, str>>

Source§

fn decoded_query(&self) -> Option<Vec<(Cow<'_, str>, Cow<'_, str>)>>

Source§

impl PathAndQueryUtilities for Uri

Source§

fn decoded_path(&self) -> Option<Cow<'_, str>>

Source§

fn decoded_query(&self) -> Option<Vec<(Cow<'_, str>, Cow<'_, str>)>>

Implementors§