Enum solana_client::blockhash_query::Source [−][src]
pub enum Source { Cluster, NonceAccount(Pubkey), }
Variants
Implementations
pub fn get_blockhash_and_fee_calculator(
&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>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Source
impl UnwindSafe for Source
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self