[][src]Trait interledger_service::OutgoingService

pub trait OutgoingService<A: Account> {
    type Future: Future<Item = Fulfill, Error = Reject> + Send + 'static;
    fn send_request(&mut self, request: OutgoingRequest<A>) -> Self::Future;
}

Core service trait for sending OutgoingRequests that asynchronously returns an ILP Fulfill or Reject packet.

Associated Types

type Future: Future<Item = Fulfill, Error = Reject> + Send + 'static

Loading content...

Required methods

fn send_request(&mut self, request: OutgoingRequest<A>) -> Self::Future

Loading content...

Implementors

Loading content...