pub trait ArgumentsProxyInterface: Send + Sync {
    type GetStringResponseFut: Future<Output = Result<Option<String>, Error>> + Send;
    type GetStringsResponseFut: Future<Output = Result<Vec<Option<String>>, Error>> + Send;
    type GetBoolResponseFut: Future<Output = Result<bool, Error>> + Send;
    type GetBoolsResponseFut: Future<Output = Result<Vec<bool>, Error>> + Send;
    type CollectResponseFut: Future<Output = Result<Vec<String>, Error>> + Send;

    // Required methods
    fn get_string(&self, key: &str) -> Self::GetStringResponseFut;
    fn get_strings(&self, keys: &[String]) -> Self::GetStringsResponseFut;
    fn get_bool(&self, key: &str, defaultval: bool) -> Self::GetBoolResponseFut;
    fn get_bools(&self, keys: &[BoolPair]) -> Self::GetBoolsResponseFut;
    fn collect(&self, prefix: &str) -> Self::CollectResponseFut;
}

Required Associated Types§

Required Methods§

source

fn get_string(&self, key: &str) -> Self::GetStringResponseFut

source

fn get_strings(&self, keys: &[String]) -> Self::GetStringsResponseFut

source

fn get_bool(&self, key: &str, defaultval: bool) -> Self::GetBoolResponseFut

source

fn get_bools(&self, keys: &[BoolPair]) -> Self::GetBoolsResponseFut

source

fn collect(&self, prefix: &str) -> Self::CollectResponseFut

Implementors§

source§

impl ArgumentsProxyInterface for ArgumentsProxy

§

type GetStringResponseFut = QueryResponseFut<Option<String>>

§

type GetStringsResponseFut = QueryResponseFut<Vec<Option<String>>>

§

type GetBoolResponseFut = QueryResponseFut<bool>

§

type GetBoolsResponseFut = QueryResponseFut<Vec<bool>>

§

type CollectResponseFut = QueryResponseFut<Vec<String>>