pub fn name_is_registered<'b>(&self, storage: &'b dyn Storage, name: &String) -> bool {
        let name_bytes = name.as_bytes();

        match self.get_registry(storage).may_load(name_bytes) {
            Ok(Some(_)) => true,
            Err(_) => true,
            _ => false,
        }
    }
/// Returns true if the name has been registered
Returns true if the name has been registered
Returns true if the name has been registered
pub fn name_is_registered<'b>(&self, storage: &'b dyn Storage, name: &String) -> bool {
        let name_bytes = name.as_bytes();
        match self.get_registry(storage).may_load(name_bytes) {
            Ok(Some(_)) => true,
            Err(_) => true,
            _ => false,
        }
    }
pub fn name_is_registered < ' b > ( & self , storage : & ' b dyn Storage , name : & String ) -> bool { let name_bytes = name . as_bytes ( ) ; match self . get_registry ( storage ) . may_load ( name_bytes ) { Ok ( Some ( _ ) ) => true , Err ( _ ) => true , _ => false , } }
Returns true if the name has been registered
Returns true if the name has been registered
&self
storage
&'b dyn Storage
name
&String
&self
storage
&'b dyn Storage
name
&String