Struct web3::api::Web3 [−][src]
pub struct Web3<T: Transport> { /* fields omitted */ }
Expand description
Web3 wrapper for all namespaces
Implementations
impl<T: Transport> Web3<T>[src]
impl<T: Transport> Web3<T>[src]pub fn eth_filter(&self) -> EthFilter<T>[src]
pub fn eth_filter(&self) -> EthFilter<T>[src]Access filter methods from eth namespace
pub fn parity_accounts(&self) -> ParityAccounts<T>[src]
pub fn parity_accounts(&self) -> ParityAccounts<T>[src]Access methods from parity_accounts namespace
pub fn parity_set(&self) -> ParitySet<T>[src]
pub fn parity_set(&self) -> ParitySet<T>[src]Access methods from parity_set namespace
pub async fn wait_for_confirmations<F, V>(
&self,
poll_interval: Duration,
confirmations: usize,
check: V
) -> Result<()> where
F: Future<Output = Result<Option<U64>>>,
V: ConfirmationCheck<Check = F>, [src]
pub async fn wait_for_confirmations<F, V>(
&self,
poll_interval: Duration,
confirmations: usize,
check: V
) -> Result<()> where
F: Future<Output = Result<Option<U64>>>,
V: ConfirmationCheck<Check = F>, [src]Should be used to wait for confirmations
pub async fn send_transaction_with_confirmation(
&self,
tx: TransactionRequest,
poll_interval: Duration,
confirmations: usize
) -> Result<TransactionReceipt>[src]
pub async fn send_transaction_with_confirmation(
&self,
tx: TransactionRequest,
poll_interval: Duration,
confirmations: usize
) -> Result<TransactionReceipt>[src]Sends transaction and returns future resolved after transaction is confirmed
pub async fn send_raw_transaction_with_confirmation(
&self,
tx: Bytes,
poll_interval: Duration,
confirmations: usize
) -> Result<TransactionReceipt>[src]
pub async fn send_raw_transaction_with_confirmation(
&self,
tx: Bytes,
poll_interval: Duration,
confirmations: usize
) -> Result<TransactionReceipt>[src]Sends raw transaction and returns future resolved after transaction is confirmed
impl<T: DuplexTransport> Web3<T>[src]
impl<T: DuplexTransport> Web3<T>[src]pub fn eth_subscribe(&self) -> EthSubscribe<T>[src]
pub fn eth_subscribe(&self) -> EthSubscribe<T>[src]Access subscribe methods from eth namespace
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Web3<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Web3<T> where
T: Send,
T: Send,
impl<T> Sync for Web3<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Web3<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Web3<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,