[−][src]Struct solana::rpc::RpcSolImpl
Trait Implementations
impl RpcSol for RpcSolImpl
[src]
type Metadata = Meta
fn confirm_transaction(&self, meta: Self::Metadata, id: String) -> Result<bool>
[src]
fn get_account_info(&self, meta: Self::Metadata, id: String) -> Result<Account>
[src]
fn get_program_accounts(
&self,
meta: Self::Metadata,
id: String
) -> Result<Vec<(String, Account)>>
[src]
&self,
meta: Self::Metadata,
id: String
) -> Result<Vec<(String, Account)>>
fn get_balance(&self, meta: Self::Metadata, id: String) -> Result<u64>
[src]
fn get_cluster_nodes(&self, meta: Self::Metadata) -> Result<Vec<RpcContactInfo>>
[src]
fn get_epoch_info(&self, meta: Self::Metadata) -> Result<RpcEpochInfo>
[src]
fn get_leader_schedule(
&self,
meta: Self::Metadata
) -> Result<Option<Vec<String>>>
[src]
&self,
meta: Self::Metadata
) -> Result<Option<Vec<String>>>
fn get_recent_blockhash(
&self,
meta: Self::Metadata
) -> Result<(String, FeeCalculator)>
[src]
&self,
meta: Self::Metadata
) -> Result<(String, FeeCalculator)>
fn get_signature_status(
&self,
meta: Self::Metadata,
id: String
) -> Result<Option<Result<()>>>
[src]
&self,
meta: Self::Metadata,
id: String
) -> Result<Option<Result<()>>>
fn get_slot(&self, meta: Self::Metadata) -> Result<u64>
[src]
fn get_num_blocks_since_signature_confirmation(
&self,
meta: Self::Metadata,
id: String
) -> Result<Option<usize>>
[src]
&self,
meta: Self::Metadata,
id: String
) -> Result<Option<usize>>
fn get_signature_confirmation(
&self,
meta: Self::Metadata,
id: String
) -> Result<Option<(usize, Result<()>)>>
[src]
&self,
meta: Self::Metadata,
id: String
) -> Result<Option<(usize, Result<()>)>>
fn get_transaction_count(&self, meta: Self::Metadata) -> Result<u64>
[src]
fn get_total_supply(&self, meta: Self::Metadata) -> Result<u64>
[src]
fn request_airdrop(
&self,
meta: Self::Metadata,
id: String,
lamports: u64
) -> Result<String>
[src]
&self,
meta: Self::Metadata,
id: String,
lamports: u64
) -> Result<String>
fn send_transaction(
&self,
meta: Self::Metadata,
data: Vec<u8>
) -> Result<String>
[src]
&self,
meta: Self::Metadata,
data: Vec<u8>
) -> Result<String>
fn get_slot_leader(&self, meta: Self::Metadata) -> Result<String>
[src]
fn get_epoch_vote_accounts(
&self,
meta: Self::Metadata
) -> Result<Vec<RpcVoteAccountInfo>>
[src]
&self,
meta: Self::Metadata
) -> Result<Vec<RpcVoteAccountInfo>>
fn get_storage_turn_rate(&self, meta: Self::Metadata) -> Result<u64>
[src]
fn get_storage_turn(&self, meta: Self::Metadata) -> Result<(String, u64)>
[src]
fn get_slots_per_segment(&self, meta: Self::Metadata) -> Result<u64>
[src]
fn get_storage_pubkeys_for_slot(
&self,
meta: Self::Metadata,
slot: u64
) -> Result<Vec<Pubkey>>
[src]
&self,
meta: Self::Metadata,
slot: u64
) -> Result<Vec<Pubkey>>
fn fullnode_exit(&self, meta: Self::Metadata) -> Result<bool>
[src]
fn to_delegate(self) -> IoDelegate<Self, Self::Metadata>
[src]
Create an IoDelegate
, wiring rpc calls to the trait methods.
Auto Trait Implementations
impl Unpin for RpcSolImpl
impl Send for RpcSolImpl
impl Sync for RpcSolImpl
impl RefUnwindSafe for RpcSolImpl
impl UnwindSafe for RpcSolImpl
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,