pub struct Web3Api<T> { /* private fields */ }
Expand description
Web3
namespace
Implementations§
Source§impl<T: Transport> Web3<T>
impl<T: Transport> Web3<T>
Sourcepub fn client_version(&self, options: CallOptions) -> CallFuture<String, T::Out> ⓘ
pub fn client_version(&self, options: CallOptions) -> CallFuture<String, T::Out> ⓘ
Returns client version
Sourcepub fn sha3(
&self,
bytes: Bytes,
options: CallOptions,
) -> CallFuture<H256, T::Out> ⓘ
pub fn sha3( &self, bytes: Bytes, options: CallOptions, ) -> CallFuture<H256, T::Out> ⓘ
Returns sha3 of the given data
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Web3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Web3<T>where
T: RefUnwindSafe,
impl<T> Send for Web3<T>where
T: Send,
impl<T> Sync for Web3<T>where
T: Sync,
impl<T> Unpin for Web3<T>where
T: Unpin,
impl<T> UnwindSafe for Web3<T>where
T: UnwindSafe,
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