pub trait AbstractRegistryAccess: Sized {
// Required method
fn abstract_registry(
&self,
deps: Deps<'_>,
) -> Result<RegistryContract, AbstractSdkError>;
}Expand description
Trait that enables access to a registry, like a registry contract.
Required Methods§
Sourcefn abstract_registry(
&self,
deps: Deps<'_>,
) -> Result<RegistryContract, AbstractSdkError>
fn abstract_registry( &self, deps: Deps<'_>, ) -> Result<RegistryContract, AbstractSdkError>
Get the address of the registry.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl AbstractRegistryAccess for RegistryContract
impl<Error: ContractError, CustomInitMsg, CustomExecMsg, CustomQueryMsg, SudoMsg> AbstractRegistryAccess for AdapterContract<Error, CustomInitMsg, CustomExecMsg, CustomQueryMsg, SudoMsg>
Get the registry contract