[][src]Trait web3_etz::confirm::ConfirmationCheck

pub trait ConfirmationCheck {
    type Check: IntoFuture<Item = Option<U256>, Error = Error>;
    fn check(&self) -> Self::Check;
}

Checks whether an event has been confirmed.

Associated Types

type Check: IntoFuture<Item = Option<U256>, Error = Error>

Future resolved when is known whether an event has been confirmed.

Loading content...

Required methods

fn check(&self) -> Self::Check

Should be called to get future which resolves when confirmation state is known.

Loading content...

Implementors

impl<F, T> ConfirmationCheck for F where
    F: Fn() -> T,
    T: IntoFuture<Item = Option<U256>, Error = Error>, 
[src]

type Check = T

Loading content...