pub fn try_at<E>(mut self, path: impl AsRef<str>, ep: E) -> Result<Self, RouteError>
    where
        E: IntoEndpoint,
        E::Endpoint: 'static,
    {
        self.tree
            .add(&normalize_path(path.as_ref()), ep.map_to_response().boxed())?;
        Ok(self)
    }
/// Attempts to add an [Endpoint] to the specified path.
Attempts to add an [Endpoint] to the specified path.
Attempts to add an [ Endpoint ] to the specified path .
pub fn try_at<E>(mut self, path: impl AsRef<str>, ep: E) -> Result<Self, RouteError>
    where
        E: IntoEndpoint,
        E::Endpoint: 'static,
    {
        self.tree
            .add(&normalize_path(path.as_ref()), ep.map_to_response().boxed())?;
        Ok(self)
    }
pub fn try_at < E > ( mut self , path : impl AsRef < str > , ep : E ) -> Result < Self , RouteError > where E : IntoEndpoint , E :: Endpoint : ' static , { self . tree . add ( & normalize_path ( path . as_ref ( ) ) , ep . map_to_response ( ) . boxed ( ) ) ? ; Ok ( self ) }
Attempts to add an [Endpoint] to the specified path.
Attempts to add an [ Endpoint ] to the specified path .
mut self
path
impl AsRef<str>
ep
E