[][src]Struct frame_system::offchain::TransactionSubmitter

pub struct TransactionSubmitter<S, C, E> { /* fields omitted */ }

A default type used to submit transactions to the pool.

Trait Implementations

impl<S, C, E> Default for TransactionSubmitter<S, C, E>[src]

impl<T, E, S, C, Call> SubmitSignedTransaction<T, Call> for TransactionSubmitter<S, C, E> where
    T: Trait,
    C: CreateTransaction<T, E>,
    S: Signer<<C as CreateTransaction<T, E>>::Public, <C as CreateTransaction<T, E>>::Signature>,
    E: ExtrinsicT<Call = Call> + Encode
[src]

A blanket implementation to simplify creation of transaction signer & submitter in the runtime.

type Extrinsic = E

Unchecked extrinsic type.

type CreateTransaction = C

A runtime-specific type to produce signed data for the extrinsic.

type Signer = S

A type used to sign transactions created using CreateTransaction.

impl<T, E, S, C, Call> SubmitUnsignedTransaction<T, Call> for TransactionSubmitter<S, C, E> where
    T: Trait,
    E: ExtrinsicT<Call = Call> + Encode
[src]

A blanket impl to use the same submitter for usigned transactions as well.

type Extrinsic = E

Unchecked extrinsic type.

Auto Trait Implementations

impl<S, C, E> RefUnwindSafe for TransactionSubmitter<S, C, E> where
    C: RefUnwindSafe,
    E: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, C, E> Send for TransactionSubmitter<S, C, E> where
    C: Send,
    E: Send,
    S: Send

impl<S, C, E> Sync for TransactionSubmitter<S, C, E> where
    C: Sync,
    E: Sync,
    S: Sync

impl<S, C, E> Unpin for TransactionSubmitter<S, C, E> where
    C: Unpin,
    E: Unpin,
    S: Unpin

impl<S, C, E> UnwindSafe for TransactionSubmitter<S, C, E> where
    C: UnwindSafe,
    E: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> InitializableFromZeroed for T where
    T: Default
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 
[src]

fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]