Trait ibc_chain_registry::fetchable::Fetchable
source · pub trait Fetchablewhere
Self: DeserializeOwned,{
const DESC: &'static str;
// 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.
Required Associated Constants§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.