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>
§type Error = DandelionRouterError
type Error = DandelionRouterError
Errors produced by the service.
§type Future = Pin<Box<dyn Future<Output = Result<<DandelionRouter<P, B, ID, S, Tx> as Service<DandelionRouteReq<Tx, ID>>>::Response, <DandelionRouter<P, B, ID, S, Tx> as Service<DandelionRouteReq<Tx, ID>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<DandelionRouter<P, B, ID, S, Tx> as Service<DandelionRouteReq<Tx, ID>>>::Response, <DandelionRouter<P, B, ID, S, Tx> as Service<DandelionRouteReq<Tx, ID>>>::Error>> + 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.