Trait GraphQlClientExt

Source
pub trait GraphQlClientExt:
    GraphQlClient
    + Sized
    + Send {
    // Provided method
    fn price_info_object_id_for_feed(
        &self,
        pyth_wrapper_pkg: Address,
        price_feed: ObjectId,
    ) -> impl Future<Output = Result<ObjectId, Error<Self::Error>>> + Send { ... }
}
Available on crate feature graphql only.

Provided Methods§

Source

fn price_info_object_id_for_feed( &self, pyth_wrapper_pkg: Address, price_feed: ObjectId, ) -> impl Future<Output = Result<ObjectId, Error<Self::Error>>> + Send

Get the ID of the Pyth PriceInfoObject for a PriceFeed.

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§