pub struct Web3Api<T> { /* private fields */ }Expand description
Web3 namespace
Implementations
sourceimpl<T: Transport> Web3<T>
impl<T: Transport> Web3<T>
sourcepub fn client_version(&self) -> CallFuture<String, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
pub fn client_version(&self) -> CallFuture<String, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
Returns client version
sourcepub fn sha3(&self, bytes: Bytes) -> CallFuture<H256, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
pub fn sha3(&self, bytes: Bytes) -> CallFuture<H256, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more