pub trait CommonProxyInterface: Send + Sync {
    type QueryResponseFut: Future<Output = Result<(BlockInfo, u64), Error>> + Send;
    type QueueResponseFut: Future<Output = Result<(i32, BlockOp), Error>> + Send;

    // Required methods
    fn query(&self) -> Self::QueryResponseFut;
    fn queue(&self, txn: BlockOp) -> Self::QueueResponseFut;
}

Required Associated Types§

source

type QueryResponseFut: Future<Output = Result<(BlockInfo, u64), Error>> + Send

source

type QueueResponseFut: Future<Output = Result<(i32, BlockOp), Error>> + Send

Required Methods§

source

fn query(&self) -> Self::QueryResponseFut

source

fn queue(&self, txn: BlockOp) -> Self::QueueResponseFut

Implementors§

source§

impl CommonProxyInterface for CommonProxy

§

type QueryResponseFut = QueryResponseFut<(BlockInfo, u64)>

§

type QueueResponseFut = QueryResponseFut<(i32, BlockOp)>