[−][src]Trait interledger_ccp::RouteManagerStore
Associated Types
type Account: CcpRoutingAccount
Required methods
fn get_local_and_configured_routes(
&self
) -> Box<dyn Future<Item = (HashMap<Bytes, Self::Account>, HashMap<Bytes, Self::Account>), Error = ()> + Send>
&self
) -> Box<dyn Future<Item = (HashMap<Bytes, Self::Account>, HashMap<Bytes, Self::Account>), Error = ()> + Send>
fn get_accounts_to_send_routes_to(
&self,
ignore_accounts: Vec<<Self::Account as Account>::AccountId>
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
&self,
ignore_accounts: Vec<<Self::Account as Account>::AccountId>
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
fn get_accounts_to_receive_routes_from(
&self
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
&self
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
fn set_routes(
&mut self,
routes: impl IntoIterator<Item = (Bytes, Self::Account)>
) -> Box<dyn Future<Item = (), Error = ()> + Send>
&mut self,
routes: impl IntoIterator<Item = (Bytes, Self::Account)>
) -> Box<dyn Future<Item = (), Error = ()> + Send>