pub trait QueryNetwork {
// Required method
async fn shelley_genesis_configuration(
&self,
) -> Result<ShelleyGenesisConfigurationResponse, OgmiosClientError>;
}
Expand description
Trait that defines the methods for querying the network.
Required Methods§
Sourceasync fn shelley_genesis_configuration(
&self,
) -> Result<ShelleyGenesisConfigurationResponse, OgmiosClientError>
async fn shelley_genesis_configuration( &self, ) -> Result<ShelleyGenesisConfigurationResponse, OgmiosClientError>
Returns the Shelley genesis configuration.
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.