Enum solana_banks_interface::BanksRequest [−][src]
pub enum BanksRequest {
SendTransactionWithContext {
transaction: Transaction,
},
GetFeesWithCommitmentAndContext {
commitment: CommitmentLevel,
},
GetTransactionStatusWithContext {
signature: Signature,
},
GetSlotWithContext {
commitment: CommitmentLevel,
},
GetBlockHeightWithContext {
commitment: CommitmentLevel,
},
ProcessTransactionWithPreflightAndCommitmentAndContext {
transaction: Transaction,
commitment: CommitmentLevel,
},
ProcessTransactionWithCommitmentAndContext {
transaction: Transaction,
commitment: CommitmentLevel,
},
GetAccountWithCommitmentAndContext {
address: Pubkey,
commitment: CommitmentLevel,
},
GetLatestBlockhashWithContext {},
GetLatestBlockhashWithCommitmentAndContext {
commitment: CommitmentLevel,
},
GetFeeForMessageWithCommitmentAndContext {
commitment: CommitmentLevel,
message: Message,
},
}
Expand description
The request sent over the wire from the client to the server.
Variants
SendTransactionWithContext
Fields
transaction: Transaction
GetFeesWithCommitmentAndContext
Fields
commitment: CommitmentLevel
GetTransactionStatusWithContext
Fields
signature: Signature
GetSlotWithContext
Fields
commitment: CommitmentLevel
GetBlockHeightWithContext
Fields
commitment: CommitmentLevel
ProcessTransactionWithPreflightAndCommitmentAndContext
ProcessTransactionWithCommitmentAndContext
GetAccountWithCommitmentAndContext
GetLatestBlockhashWithContext
Fields
GetLatestBlockhashWithCommitmentAndContext
Fields
commitment: CommitmentLevel
GetFeeForMessageWithCommitmentAndContext
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type Resp = BanksResponse
type Resp = BanksResponse
Type of response.
type Fut = BanksResponseFut<S>
type Fut = BanksResponseFut<S>
Type of response future.
Extracts a method name from the request.
Responds to a single request.
Auto Trait Implementations
impl RefUnwindSafe for BanksRequest
impl Send for BanksRequest
impl Sync for BanksRequest
impl Unpin for BanksRequest
impl UnwindSafe for BanksRequest
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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