Trait abstract_sdk::features::AbstractNameService

source ·
pub trait AbstractNameService: Sized {
    // Required method
    fn ans_host(&self, deps: Deps<'_>) -> AbstractSdkResult<AnsHost>;

    // Provided method
    fn name_service<'a>(
        &'a self,
        deps: Deps<'a>
    ) -> AbstractNameServiceClient<'_, Self> { ... }
}
Expand description

ANCHOR: ans Accessor to the Abstract Name Service.

Required Methods§

source

fn ans_host(&self, deps: Deps<'_>) -> AbstractSdkResult<AnsHost>

Get the ANS host address.

Provided Methods§

source

fn name_service<'a>( &'a self, deps: Deps<'a> ) -> AbstractNameServiceClient<'_, Self>

Construct the name service client.

Object Safety§

This trait is not object safe.

Implementors§