pub struct TestTransactionPoolExt(_);
Expand description
Implementation of transaction pool used for test.
Note that this implementation does not verify correctness of sent extrinsics. It’s meant to be used in contexts where an actual runtime is not known.
It’s advised to write integration tests that include the actual transaction pool to make sure the produced transactions are valid.
Implementations
Trait Implementations
sourceimpl Default for TestTransactionPoolExt
impl Default for TestTransactionPoolExt
sourcefn default() -> TestTransactionPoolExt
fn default() -> TestTransactionPoolExt
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for TestTransactionPoolExt
impl Send for TestTransactionPoolExt
impl Sync for TestTransactionPoolExt
impl Unpin for TestTransactionPoolExt
impl !UnwindSafe for TestTransactionPoolExt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
sourceimpl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
sourcefn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to unchecked_from
.