Struct sp_core::offchain::TransactionPoolExt [−][src]
pub struct TransactionPoolExt(pub Box<dyn TransactionPool + Send>);
An externalities extension to submit transactions to the pool.
Implementations
impl TransactionPoolExt[src]
impl TransactionPoolExt[src]pub fn new<O: TransactionPool + Send + 'static>(pool: O) -> Self[src]
Create a new instance of TransactionPoolExt.
Methods from Deref<Target = Box<dyn TransactionPool + Send>>
Trait Implementations
impl Deref for TransactionPoolExt[src]
impl Deref for TransactionPoolExt[src]impl Extension for TransactionPoolExt[src]
impl Extension for TransactionPoolExt[src]fn as_mut_any(&mut self) -> &mut dyn Any[src]
impl From<Box<dyn TransactionPool + 'static + Send, Global>> for TransactionPoolExt[src]
impl From<Box<dyn TransactionPool + 'static + Send, Global>> for TransactionPoolExt[src]fn from(inner: Box<dyn TransactionPool + Send>) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for TransactionPoolExt
impl Send for TransactionPoolExt
impl !Sync for TransactionPoolExt
impl Unpin for TransactionPoolExt
impl !UnwindSafe for TransactionPoolExt
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>, [src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>, [src]impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]