[−][src]Trait interledger_api::NodeStore
Associated Types
Loading content...Required methods
fn insert_account(
&self,
account: AccountDetails
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
&self,
account: AccountDetails
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
fn delete_account(
&self,
id: <Self::Account as Account>::AccountId
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
&self,
id: <Self::Account as Account>::AccountId
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
fn update_account(
&self,
id: <Self::Account as Account>::AccountId,
account: AccountDetails
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
&self,
id: <Self::Account as Account>::AccountId,
account: AccountDetails
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
fn modify_account_settings(
&self,
id: <Self::Account as Account>::AccountId,
settings: AccountSettings
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
&self,
id: <Self::Account as Account>::AccountId,
settings: AccountSettings
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
fn get_all_accounts(
&self
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
&self
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
fn set_static_routes<R>(
&self,
routes: R
) -> Box<dyn Future<Item = (), Error = ()> + Send> where
R: IntoIterator<Item = (String, <Self::Account as Account>::AccountId)>,
&self,
routes: R
) -> Box<dyn Future<Item = (), Error = ()> + Send> where
R: IntoIterator<Item = (String, <Self::Account as Account>::AccountId)>,
fn set_static_route(
&self,
prefix: String,
account_id: <Self::Account as Account>::AccountId
) -> Box<dyn Future<Item = (), Error = ()> + Send>
&self,
prefix: String,
account_id: <Self::Account as Account>::AccountId
) -> Box<dyn Future<Item = (), Error = ()> + Send>
fn set_default_route(
&self,
account_id: <Self::Account as Account>::AccountId
) -> Box<dyn Future<Item = (), Error = ()> + Send>
&self,
account_id: <Self::Account as Account>::AccountId
) -> Box<dyn Future<Item = (), Error = ()> + Send>
fn set_settlement_engines(
&self,
asset_to_url_map: impl IntoIterator<Item = (String, Url)>
) -> Box<dyn Future<Item = (), Error = ()> + Send>
&self,
asset_to_url_map: impl IntoIterator<Item = (String, Url)>
) -> Box<dyn Future<Item = (), Error = ()> + Send>
fn get_asset_settlement_engine(
&self,
asset_code: &str
) -> Box<dyn Future<Item = Option<Url>, Error = ()> + Send>
&self,
asset_code: &str
) -> Box<dyn Future<Item = Option<Url>, Error = ()> + Send>