Struct solana_rpc::rpc::rpc_minimal::MinimalImpl [−][src]
pub struct MinimalImpl;
Trait Implementations
type Metadata = JsonRpcRequestProcessor
fn get_balance(
&self,
meta: Self::Metadata,
pubkey_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<u64>>
fn get_epoch_info(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<EpochInfo>
fn get_slot(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<Slot>
fn get_block_height(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<u64>
fn get_transaction_count(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<u64>
fn get_vote_accounts(
&self,
meta: Self::Metadata,
config: Option<RpcGetVoteAccountsConfig>
) -> Result<RpcVoteAccountStatus>
fn get_leader_schedule(
&self,
meta: Self::Metadata,
options: Option<RpcLeaderScheduleConfigWrapper>,
config: Option<RpcLeaderScheduleConfig>
) -> Result<Option<RpcLeaderSchedule>>
Create an IoDelegate
, wiring rpc calls to the trait methods.
Auto Trait Implementations
impl RefUnwindSafe for MinimalImpl
impl Send for MinimalImpl
impl Sync for MinimalImpl
impl Unpin for MinimalImpl
impl UnwindSafe for MinimalImpl
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
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