[−][src]Struct interledger_router::Router
The router implements the IncomingService trait and uses the routing table
to determine the to
(or "next hop") Account for the given request.
Note that the router does not:
- apply exchange rates or fees to the Prepare packet
- adjust account balances
- reduce the Prepare packet's expiry
Methods
impl<S, T> Router<S, T> where
S: OutgoingService<T::Account>,
T: RouterStore,
[src]
S: OutgoingService<T::Account>,
T: RouterStore,
Trait Implementations
impl<S: Clone, T: Clone> Clone for Router<S, T>
[src]
fn clone(&self) -> Router<S, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S, T> IncomingService<<T as AccountStore>::Account> for Router<S, T> where
S: OutgoingService<T::Account> + Clone + Send + 'static,
T: RouterStore,
[src]
S: OutgoingService<T::Account> + Clone + Send + 'static,
T: RouterStore,
type Future = BoxedIlpFuture
fn handle_request(
&mut self,
request: IncomingRequest<T::Account>
) -> Self::Future
[src]
&mut self,
request: IncomingRequest<T::Account>
) -> Self::Future
Auto Trait Implementations
impl<S, T> Send for Router<S, T> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<S, T> Sync for Router<S, T> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,