Enum solana_client::blockhash_query::BlockhashQuery [−][src]
Variants
None(Hash)
FeeCalculator(Source, Hash)
All(Source)
Tuple Fields
0: SourceImplementations
pub fn get_blockhash_and_fee_calculator(
&self,
rpc_client: &RpcClient,
commitment: CommitmentConfig
) -> Result<(Hash, FeeCalculator), Box<dyn Error>>
👎 Deprecated since 1.9.0:
Please use get_blockhash instead
pub fn get_blockhash(
&self,
rpc_client: &RpcClient,
commitment: CommitmentConfig
) -> Result<Hash, Box<dyn Error>>
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for BlockhashQuery
impl Send for BlockhashQuery
impl Sync for BlockhashQuery
impl Unpin for BlockhashQuery
impl UnwindSafe for BlockhashQuery
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
