Enum solana_client::blockhash_query::Source [−][src]
pub enum Source { Cluster, NonceAccount(Pubkey), }
Variants
Implementations
impl Source
[src]
impl Source
[src]pub fn get_blockhash_and_fee_calculator(
&self,
rpc_client: &RpcClient,
commitment: CommitmentConfig
) -> Result<(Hash, FeeCalculator), Box<dyn Error>>
[src]
&self,
rpc_client: &RpcClient,
commitment: CommitmentConfig
) -> Result<(Hash, FeeCalculator), Box<dyn Error>>
pub fn get_fee_calculator(
&self,
rpc_client: &RpcClient,
blockhash: &Hash,
commitment: CommitmentConfig
) -> Result<Option<FeeCalculator>, Box<dyn Error>>
[src]
&self,
rpc_client: &RpcClient,
blockhash: &Hash,
commitment: CommitmentConfig
) -> Result<Option<FeeCalculator>, Box<dyn Error>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Source
impl RefUnwindSafe for Source
impl UnwindSafe for Source
impl UnwindSafe for Source
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,