pub fn try_resolve_name<'b>(
        &self,
        storage: &'b dyn Storage,
        name: &String,
    ) -> Result<NameRecord> {
        self.get_registry(storage)
            .load(name.as_bytes())
            .context(format!("Could not find name: {}.{}", name, self.tld))
    }
/// Attempt to resolve a NameRecord given a name
/// Will return an Err if the name is not registered
Attempt to resolve a NameRecord given a name
Will return an Err if the name is not registered
Attempt to resolve a NameRecord given a name Will return an Err if the name is not registered
pub fn try_resolve_name<'b>(
        &self,
        storage: &'b dyn Storage,
        name: &String,
    ) -> Result<NameRecord> {
        self.get_registry(storage)
            .load(name.as_bytes())
            .context(format!("Could not find name: {}.{}", name, self.tld))
    }
pub fn try_resolve_name < ' b > ( & self , storage : & ' b dyn Storage , name : & String , ) -> Result < NameRecord > { self . get_registry ( storage ) . load ( name . as_bytes ( ) ) . context ( format ! ( " " name self tld ) ) }
Attempt to resolve a NameRecord given a name
Will return an Err if the name is not registered
Attempt to resolve a NameRecord given a name Will return an Err if the name is not registered
&self
storage
&'b dyn Storage
name
&String
&self
storage
&'b dyn Storage
name
&String