Struct ic_web3_rs::api::Web3Api
source · 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> 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