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

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.

Implementations on Foreign Types§

§

impl<Address, Call, Signature, Extra> ExtrinsicCall for UncheckedExtrinsic<Address, Call, Signature, Extra>
where Address: TypeInfo, Call: TypeInfo, Signature: TypeInfo, Extra: TypeInfo,

§

type Call = Call

§

fn call(&self) -> &Call

Implementors§

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