pub struct DandelionRouteReq<Tx, Id> {
    pub tx: Tx,
    pub state: TxState<Id>,
}Expand description
A request to route a transaction.
Fields§
§tx: TxThe transaction.
state: TxState<Id>The transaction state.
Trait Implementations§
Source§impl<Tx, Id, P, B, S> Service<DandelionRouteReq<Tx, Id>> for DandelionRouter<P, B, Id, S, Tx>
 
impl<Tx, Id, P, B, S> Service<DandelionRouteReq<Tx, Id>> for DandelionRouter<P, B, Id, S, Tx>
Source§type Error = DandelionRouterError
 
type Error = DandelionRouterError
Errors produced by the service.
Source§type Future = Pin<Box<dyn Future<Output = Result<State, DandelionRouterError>> + Send>>
 
type Future = Pin<Box<dyn Future<Output = Result<State, DandelionRouterError>> + Send>>
The future response value.
Auto Trait Implementations§
impl<Tx, Id> Freeze for DandelionRouteReq<Tx, Id>
impl<Tx, Id> RefUnwindSafe for DandelionRouteReq<Tx, Id>where
    Tx: RefUnwindSafe,
    Id: RefUnwindSafe,
impl<Tx, Id> Send for DandelionRouteReq<Tx, Id>
impl<Tx, Id> Sync for DandelionRouteReq<Tx, Id>
impl<Tx, Id> Unpin for DandelionRouteReq<Tx, Id>
impl<Tx, Id> UnwindSafe for DandelionRouteReq<Tx, Id>where
    Tx: UnwindSafe,
    Id: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.