pub enum ResponseResult {
Show 56 variants
Null,
BlockNumber(Quantity),
PeerCount(Quantity),
SendRawTransaction(TxResponse),
SendTransaction(TxResponse),
GetBlockByHash(Block),
GetBlockByNumber(Block),
GetTransactionReceipt(Receipt),
GetLogs(Vec<Log>),
GetTransactionCount(Quantity),
GetCode(Data),
GetAbi(Data),
GetBalance(Quantity),
NewFilter(Quantity),
NewBlockFilter(Quantity),
UninstallFilter(Boolean),
GetFilterChanges(FilterChanges),
GetFilterLogs(Vec<Log>),
GetTransactionProof(Data),
GetMetaData(MetaData),
GetStateProof(Data),
GetBlockHeader(Data),
GetStorageAt(Data),
GetVersion(SoftwareVersion),
EstimateQuota(Quantity),
LicenseInfo(LicenseInfo),
GetPoolTxNum(PoolTxNum),
OpCensoredAddress(Boolean),
PeersInfo(PeersInfo),
GetTransaction(RpcTransaction),
Call(CallResult),
GetCensoredAddrs(CensorAddrs),
eth_blockNumber(Quantity),
eth_chainId(Quantity),
eth_getBlockByHash(EthBlock),
eth_getBlockByNumber(EthBlock),
eth_getTransactionByHash(EthRpcTransaction),
eth_getTransactionByBlockHashAndIndex(EthRpcTransaction),
eth_getTransactionByBlockNumberAndIndex(EthRpcTransaction),
eth_getBlockTransactionCountByHash(Integer),
eth_getBlockTransactionCountByNumber(Integer),
eth_getTransactionReceipt(EthReceipt),
eth_getBalance(Quantity),
eth_syncing(Boolean),
eth_getStorageAt(Data),
eth_getCode(Data),
eth_getTransactionCount(Quantity),
eth_getLogs(Vec<EthLog>),
eth_call(Data),
eth_estimateGas(Quantity),
eth_gasPrice(Quantity),
eth_maxPriorityFeePerGas(Quantity),
eth_sendTransaction(Data32),
eth_sendRawTransaction(Data32),
eth_accounts(Vec<Data20>),
net_version(Integer),
}Variants§
Null
BlockNumber(Quantity)
PeerCount(Quantity)
SendRawTransaction(TxResponse)
SendTransaction(TxResponse)
GetBlockByHash(Block)
GetBlockByNumber(Block)
GetTransactionReceipt(Receipt)
GetLogs(Vec<Log>)
GetTransactionCount(Quantity)
GetCode(Data)
GetAbi(Data)
GetBalance(Quantity)
NewFilter(Quantity)
NewBlockFilter(Quantity)
UninstallFilter(Boolean)
GetFilterChanges(FilterChanges)
GetFilterLogs(Vec<Log>)
GetTransactionProof(Data)
GetMetaData(MetaData)
GetStateProof(Data)
GetBlockHeader(Data)
GetStorageAt(Data)
GetVersion(SoftwareVersion)
EstimateQuota(Quantity)
LicenseInfo(LicenseInfo)
GetPoolTxNum(PoolTxNum)
OpCensoredAddress(Boolean)
PeersInfo(PeersInfo)
GetTransaction(RpcTransaction)
Call(CallResult)
GetCensoredAddrs(CensorAddrs)
eth_blockNumber(Quantity)
eth_chainId(Quantity)
eth_getBlockByHash(EthBlock)
eth_getBlockByNumber(EthBlock)
eth_getTransactionByHash(EthRpcTransaction)
eth_getTransactionByBlockHashAndIndex(EthRpcTransaction)
eth_getTransactionByBlockNumberAndIndex(EthRpcTransaction)
eth_getBlockTransactionCountByHash(Integer)
eth_getBlockTransactionCountByNumber(Integer)
eth_getTransactionReceipt(EthReceipt)
eth_getBalance(Quantity)
eth_syncing(Boolean)
eth_getStorageAt(Data)
eth_getCode(Data)
eth_getTransactionCount(Quantity)
eth_getLogs(Vec<EthLog>)
eth_call(Data)
eth_estimateGas(Quantity)
eth_gasPrice(Quantity)
eth_maxPriorityFeePerGas(Quantity)
eth_sendTransaction(Data32)
eth_sendRawTransaction(Data32)
eth_accounts(Vec<Data20>)
net_version(Integer)
Trait Implementations§
Source§impl Clone for ResponseResult
impl Clone for ResponseResult
Source§fn clone(&self) -> ResponseResult
fn clone(&self) -> ResponseResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseResult
impl Debug for ResponseResult
Source§impl Default for ResponseResult
impl Default for ResponseResult
Source§impl<'de> Deserialize<'de> for ResponseResult
impl<'de> Deserialize<'de> for ResponseResult
Source§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
Source§impl PartialEq for ResponseResult
impl PartialEq for ResponseResult
Source§impl Serialize for ResponseResult
impl Serialize for ResponseResult
impl StructuralPartialEq for ResponseResult
Auto Trait Implementations§
impl Freeze for ResponseResult
impl RefUnwindSafe for ResponseResult
impl Send for ResponseResult
impl Sync for ResponseResult
impl Unpin for ResponseResult
impl UnwindSafe for ResponseResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request