pub enum TxStoreRequest<TxId> {
Get(TxId),
Promote(TxId),
}
Expand description
A request sent to the backing transaction pool storage.
Variants§
Get(TxId)
A request to retrieve a Tx
with the given Id from the pool, should not remove that tx from the pool.
Must return TxStoreResponse::Transaction
Promote(TxId)
Promote a transaction from the stem pool to the public pool.
If the tx is already in the fluff pool do nothing.
This should not error if the tx isn’t in the pool at all.
Auto Trait Implementations§
impl<TxId> Freeze for TxStoreRequest<TxId>where
TxId: Freeze,
impl<TxId> RefUnwindSafe for TxStoreRequest<TxId>where
TxId: RefUnwindSafe,
impl<TxId> Send for TxStoreRequest<TxId>where
TxId: Send,
impl<TxId> Sync for TxStoreRequest<TxId>where
TxId: Sync,
impl<TxId> Unpin for TxStoreRequest<TxId>where
TxId: Unpin,
impl<TxId> UnwindSafe for TxStoreRequest<TxId>where
TxId: 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.