[−][src]Trait interledger::service::AccountStore
The base Store trait that can load a given account based on the ID.
Associated Types
Loading content...Required methods
fn get_accounts(
&self,
account_ids: Vec<<Self::Account as Account>::AccountId>
) -> Box<dyn Future<Error = (), Item = Vec<Self::Account>> + 'static + Send>
&self,
account_ids: Vec<<Self::Account as Account>::AccountId>
) -> Box<dyn Future<Error = (), Item = Vec<Self::Account>> + 'static + Send>
fn get_account_id_from_username(
&self,
username: &Username
) -> Box<dyn Future<Error = (), Item = <Self::Account as Account>::AccountId> + 'static + Send>
&self,
username: &Username
) -> Box<dyn Future<Error = (), Item = <Self::Account as Account>::AccountId> + 'static + Send>
Implementors
impl AccountStore for RedisStore
[src]
type Account = Account
fn get_accounts(
&self,
account_ids: Vec<<<RedisStore as AccountStore>::Account as Account>::AccountId>
) -> Box<dyn Future<Error = (), Item = Vec<Account>> + 'static + Send>
[src]
&self,
account_ids: Vec<<<RedisStore as AccountStore>::Account as Account>::AccountId>
) -> Box<dyn Future<Error = (), Item = Vec<Account>> + 'static + Send>
fn get_account_id_from_username(
&self,
username: &Username
) -> Box<dyn Future<Error = (), Item = AccountId> + 'static + Send>
[src]
&self,
username: &Username
) -> Box<dyn Future<Error = (), Item = AccountId> + 'static + Send>