Struct goods::source::treasury::TreasurySource [−][src]
pub struct TreasurySource { /* fields omitted */ }
Implementations
Trait Implementations
type Error = TreasuryFetchError
type Error = TreasuryFetchError
Error that may occur during asset loading.
Future that resolves int loaded asset data, error or None.
Load asset data from this source.
Returns Ok(Some(asset_data))
if asset is loaded successfully.
Returns Ok(None)
if asset is not found, allowing checking other sources. Read more