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

Trait ExtrinsicCall

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§

type Call

The type of the call.

Required Methods§

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§

§

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

§

type Call = Call

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