pub struct TransactionProofRpc;Expand description
RPC type for fetching a light client execution proof for a transaction.
Uses the light_client_proof RPC method to retrieve the proof needed to verify
a transaction execution against a light client block.
Trait Implementations§
Source§impl Clone for TransactionProofRpc
impl Clone for TransactionProofRpc
Source§fn clone(&self) -> TransactionProofRpc
fn clone(&self) -> TransactionProofRpc
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 TransactionProofRpc
impl Debug for TransactionProofRpc
Source§impl RpcType for TransactionProofRpc
impl RpcType for TransactionProofRpc
type RpcReference = TransactionProofRef
type Response = RpcLightClientExecutionProofResponse
type Error = RpcLightClientProofError
fn send_query<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
client: &'life1 Client,
_network: &'life2 NetworkConfig,
reference: &'life3 TransactionProofRef,
) -> Pin<Box<dyn Future<Output = RetryResponse<RpcLightClientExecutionProofResponse, SendRequestError<RpcLightClientProofError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for TransactionProofRpc
impl RefUnwindSafe for TransactionProofRpc
impl Send for TransactionProofRpc
impl Sync for TransactionProofRpc
impl Unpin for TransactionProofRpc
impl UnsafeUnpin for TransactionProofRpc
impl UnwindSafe for TransactionProofRpc
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> 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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ResponseHandler for Twhere
T: RpcType,
impl<T> ResponseHandler for Twhere
T: RpcType,
type Response = <T as RpcType>::Response
type Query = T
Source§fn process_response(
&self,
response: Vec<<<T as ResponseHandler>::Query as RpcType>::Response>,
) -> Result<<T as ResponseHandler>::Response, QueryError<<<T as ResponseHandler>::Query as RpcType>::Error>>
fn process_response( &self, response: Vec<<<T as ResponseHandler>::Query as RpcType>::Response>, ) -> Result<<T as ResponseHandler>::Response, QueryError<<<T as ResponseHandler>::Query as RpcType>::Error>>
NOTE: responses should always >= 1