pub enum TxStoreResponse<Tx> {
Ok,
Transaction(Option<(Tx, State)>),
}
Expand description
A response sent back from the backing transaction pool.
Variants§
Ok
A generic ok response.
Transaction(Option<(Tx, State)>)
A response containing a requested transaction.
Auto Trait Implementations§
impl<Tx> Freeze for TxStoreResponse<Tx>where
Tx: Freeze,
impl<Tx> RefUnwindSafe for TxStoreResponse<Tx>where
Tx: RefUnwindSafe,
impl<Tx> Send for TxStoreResponse<Tx>where
Tx: Send,
impl<Tx> Sync for TxStoreResponse<Tx>where
Tx: Sync,
impl<Tx> Unpin for TxStoreResponse<Tx>where
Tx: Unpin,
impl<Tx> UnwindSafe for TxStoreResponse<Tx>where
Tx: 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.