[][src]Struct interledger_http::HttpClientService

pub struct HttpClientService<S, O, A> { /* fields omitted */ }

Methods

impl<S, O, A> HttpClientService<S, O, A> where
    S: AddressStore + HttpStore,
    O: OutgoingService<A> + Clone,
    A: HttpAccount
[src]

pub fn new(store: S, next: O) -> Self[src]

Trait Implementations

impl<S: Clone, O: Clone, A: Clone> Clone for HttpClientService<S, O, A>[src]

impl<S, O, A> OutgoingService<A> for HttpClientService<S, O, A> where
    S: AddressStore + HttpStore,
    O: OutgoingService<A>,
    A: HttpAccount
[src]

type Future = BoxedIlpFuture

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

Send an OutgoingRequest to a peer that implements the ILP-Over-HTTP.

Auto Trait Implementations

impl<S, O, A> Send for HttpClientService<S, O, A> where
    A: Send,
    O: Send,
    S: Send + Sync

impl<S, O, A> Sync for HttpClientService<S, O, A> where
    A: Sync,
    O: Sync,
    S: Send + Sync

impl<S, O, A> Unpin for HttpClientService<S, O, A> where
    A: Unpin,
    O: Unpin

impl<S, O, A> !UnwindSafe for HttpClientService<S, O, A>

impl<S, O, A> !RefUnwindSafe for HttpClientService<S, O, A>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err