Trait ibc_chain_registry::fetchable::Fetchable
source · pub trait Fetchablewhere
Self: DeserializeOwned,{
// Required method
fn path(resource: &str) -> PathBuf;
// Provided method
fn fetch<'async_trait>(
chain_name: String,
commit: Option<String>
) -> Pin<Box<dyn Future<Output = Result<Self, RegistryError>> + Send + 'async_trait>>
where Self: Send + 'async_trait { ... }
}Expand description
Fetchable represents the basic expectations for external data or resources that
can be fetched.