referrerpolicy=no-referrer-when-downgrade
frame_system::offchain

Trait CreateInherent

Source
pub trait CreateInherent<LocalCall>: CreateTransactionBase<LocalCall> {
    // Required method
    fn create_inherent(call: Self::RuntimeCall) -> Self::Extrinsic;
}
Expand description

Interface for creating an inherent.

Required Methods§

Source

fn create_inherent(call: Self::RuntimeCall) -> Self::Extrinsic

Create an inherent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

impl<LocalCall> CreateInherent<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,

impl<LocalCall> CreateInherent<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,

impl<LocalCall> CreateInherent<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,

impl<C> CreateInherent<C> for Runtime
where RuntimeCall: From<C>,

impl<LocalCall> CreateInherent<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,

impl<LocalCall> CreateInherent<LocalCall> for Runtime
where RuntimeCall: From<LocalCall>,