Enum solana_banks_interface::BanksRequest [−][src]
pub enum BanksRequest { SendTransactionWithContext { transaction: Transaction, }, GetFeesWithCommitmentAndContext { commitment: CommitmentLevel, }, GetTransactionStatusWithContext { signature: Signature, }, GetSlotWithContext { 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
Fields of SendTransactionWithContext
transaction: Transaction
Fields of GetFeesWithCommitmentAndContext
commitment: CommitmentLevel
Fields of GetTransactionStatusWithContext
signature: Signature
Fields of GetSlotWithContext
commitment: CommitmentLevel
Fields of ProcessTransactionWithCommitmentAndContext
transaction: Transaction
commitment: CommitmentLevel
Fields of GetAccountWithCommitmentAndContext
address: Pubkey
commitment: CommitmentLevel
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
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V