pub struct Web3Provider { /* private fields */ }
Expand description
Mostly exists to map to the new futures. This is the “untyped” API which the generated types will use.
Implementations§
Source§impl Web3Provider
impl Web3Provider
pub fn new( contract_address: Address, context: &Web3Context, json_abi: &[u8], ) -> Self
Trait Implementations§
Source§impl CallProvider for Web3Provider
impl CallProvider for Web3Provider
fn call<'life0, 'async_trait, O, Params>(
&'life0 self,
name: &'static str,
params: Params,
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + Send + 'async_trait>>where
O: 'async_trait + Detokenize + Unpin + Send,
Params: 'async_trait + Tokenize + Send,
Self: 'async_trait,
'life0: 'async_trait,
Source§impl SendProvider for Web3Provider
impl SendProvider for Web3Provider
Auto Trait Implementations§
impl !Freeze for Web3Provider
impl !RefUnwindSafe for Web3Provider
impl Send for Web3Provider
impl Sync for Web3Provider
impl Unpin for Web3Provider
impl !UnwindSafe for Web3Provider
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