[−][src]Struct interledger::http::HttpClientService
Methods
impl<S, O, A> HttpClientService<S, O, A> where
A: HttpAccount,
O: OutgoingService<A> + Clone,
S: AddressStore + HttpStore,
[src]
A: HttpAccount,
O: OutgoingService<A> + Clone,
S: AddressStore + HttpStore,
pub fn new(store: S, next: O) -> HttpClientService<S, O, A>
[src]
Trait Implementations
impl<S, O, A> Clone for HttpClientService<S, O, A> where
A: Clone,
O: Clone,
S: Clone,
[src]
A: Clone,
O: Clone,
S: Clone,
fn clone(&self) -> HttpClientService<S, O, A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S, O, A> OutgoingService<A> for HttpClientService<S, O, A> where
A: HttpAccount,
O: OutgoingService<A>,
S: AddressStore + HttpStore,
[src]
A: HttpAccount,
O: OutgoingService<A>,
S: AddressStore + HttpStore,
type Future = Box<dyn Future<Error = Reject, Item = Fulfill> + 'static + Send>
fn send_request(
&mut self,
request: OutgoingRequest<A>
) -> <HttpClientService<S, O, A> as OutgoingService<A>>::Future
[src]
&mut self,
request: OutgoingRequest<A>
) -> <HttpClientService<S, O, A> as OutgoingService<A>>::Future
Send an OutgoingRequest to a peer that implements the ILP-Over-HTTP.
fn wrap<F, R>(self, f: F) -> WrappedService<F, Self, A> where
F: Fn(OutgoingRequest<A>, Self) -> R,
R: Future<Item = Fulfill, Error = Reject> + Send + 'static,
Self: Clone,
[src]
F: Fn(OutgoingRequest<A>, Self) -> R,
R: Future<Item = Fulfill, Error = Reject> + Send + 'static,
Self: Clone,
Auto Trait Implementations
impl<S, O, A> Send for HttpClientService<S, O, A> where
A: Send,
O: Send,
S: Send + Sync,
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,
A: Sync,
O: Sync,
S: Send + Sync,
impl<S, O, A> Unpin for HttpClientService<S, O, A> where
A: Unpin,
O: Unpin,
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,
fn with_current_subscriber(self) -> WithDispatch<Self>
[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>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,