[−][src]Function interledger_btp::connect_client
pub fn connect_client<S, T, U, A: 'static>(
incoming_handler: S,
next_outgoing: T,
store: U,
accounts: Vec<<U::Account as Account>::AccountId>
) -> impl Future<Item = BtpService<S, T, A>, Error = ()> where
S: IncomingService<U::Account> + Clone + Send + Sync + 'static,
T: OutgoingService<A> + Clone + 'static,
U: AccountStore<Account = A>,
A: BtpAccount,
Create a BtpService wrapping BTP connections to the accounts specified.