Enum solana_banks_interface::BanksRequest [−][src]
pub enum BanksRequest {
SendTransactionWithContext {
transaction: Transaction,
},
GetFeesWithCommitmentAndContext {
commitment: CommitmentLevel,
},
GetTransactionStatusWithContext {
signature: Signature,
},
GetSlotWithContext {
commitment: CommitmentLevel,
},
GetBlockHeightWithContext {
commitment: CommitmentLevel,
},
ProcessTransactionWithCommitmentAndContext {
transaction: Transaction,
commitment: CommitmentLevel,
},
GetAccountWithCommitmentAndContext {
address: Pubkey,
commitment: CommitmentLevel,
},
}
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
ProcessTransactionWithCommitmentAndContext
GetAccountWithCommitmentAndContext
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.
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