pub trait ConfirmationCheck {
    type Check: Future<Output = Result<Option<U64>>>;

    // Required method
    fn check(&self) -> Self::Check;
}
Expand description

Checks whether an event has been confirmed.

Required Associated Types§

source

type Check: Future<Output = Result<Option<U64>>>

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

Required Methods§

source

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

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

Implementors§

source§

impl<F, T> ConfirmationCheck for Fwhere F: Fn() -> T, T: Future<Output = Result<Option<U64>>>,

§

type Check = T