referrerpolicy=no-referrer-when-downgrade
sp_runtime::traits

Trait ExtrinsicCall

Source
pub trait ExtrinsicCall: ExtrinsicLike {
    type Call;

    // Required method
    fn call(&self) -> &Self::Call;
}
Expand description

An extrinsic on which we can get access to call.

Required Associated Types§

Source

type Call

The type of the call.

Required Methods§

Source

fn call(&self) -> &Self::Call

Get the call of the extrinsic.

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§

Source§

impl<Address, Call, Signature, Extra> ExtrinsicCall for UncheckedExtrinsic<Address, Call, Signature, Extra>

Source§

type Call = Call

impl<Address: TypeInfo, Signature: TypeInfo, E: EthExtra> ExtrinsicCall for UncheckedExtrinsic<Address, Signature, E>