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