pub fn try_map<U, F, E>(self, f: F) -> Result<Namespace<U>, E>
    where
        U: AsRef<str>,
        F: FnOnce(T) -> Result<U, E>,
    {
        Ok(Namespace(f(self.0)?))
    }
/// Tries to map this Namespace to another one by applying function `f`.
Tries to map this Namespace to another one by applying function `f`.
Tries to map this Namespace to another one by applying function ` f ` .
pub fn try_map<U, F, E>(self, f: F) -> Result<Namespace<U>, E>
    where
        U: AsRef<str>,
        F: FnOnce(T) -> Result<U, E>,
    {
        Ok(Namespace(f(self.0)?))
    }
pub fn try_map < U , F , E > ( self , f : F ) -> Result < Namespace < U > , E > where U : AsRef < str > , F : FnOnce ( T ) -> Result < U , E > , { Ok ( Namespace ( f ( self . 0 ) ? ) ) }
Tries to map this Namespace to another one by applying function `f`.
Tries to map this Namespace to another one by applying function ` f ` .
self
f
F
self
f
F