Trait GraphQlClientExt

Source
pub trait GraphQlClientExt:
    GraphQlClient
    + Sized
    + Send {
    // Provided method
    fn get_price_feed_for_source(
        &self,
        af_oracle_pkg: Address,
        price_feed_storage: ObjectId,
        source_wrapper_id: ObjectId,
    ) -> impl Future<Output = Result<Option<MoveInstance<PriceFeed>>, Error<Self::Error>>> + Send { ... }
}
Available on crate feature graphql only.

Provided Methods§

Source

fn get_price_feed_for_source( &self, af_oracle_pkg: Address, price_feed_storage: ObjectId, source_wrapper_id: ObjectId, ) -> impl Future<Output = Result<Option<MoveInstance<PriceFeed>>, Error<Self::Error>>> + Send

For a PriceFeedStorage, get the PriceFeed backed by source_wrapper_id, if any.

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§