UriToParsed

Trait UriToParsed 

Source
pub trait UriToParsed:
    Sync
    + Send
    + 'static {
    type Item: Sync + Send + 'static;

    // Required method
    fn convert(&self, u: &Uri) -> Result<Self::Item, Error>;
}

Required Associated Types§

Source

type Item: Sync + Send + 'static

Required Methods§

Source

fn convert(&self, u: &Uri) -> Result<Self::Item, Error>

Implementations on Foreign Types§

Source§

impl<U> UriToParsed for Arc<U>
where U: UriToParsed,

Source§

type Item = <U as UriToParsed>::Item

Source§

fn convert(&self, u: &Uri) -> Result<Self::Item, Error>

Implementors§