pub trait ExtractCall<Call> {
    // Required method
    fn extract_call(&self) -> Call;
}
Expand description

A trait whose purpose is to extract the Call variant of an extrinsic

Required Methods§

source

fn extract_call(&self) -> Call

Implementations on Foreign Types§

source§

impl<Address, Call, Extra> ExtractCall<Call> for CheckedExtrinsic<Address, Call, Extra>
where Call: Dispatchable + Clone,

Implementation for checked extrinsic.

source§

fn extract_call(&self) -> Call

source§

impl<Address, Call, Signature, Extra> ExtractCall<Call> for UncheckedExtrinsic<Address, Call, Signature, Extra>
where Call: Dispatchable + Clone, Extra: SignedExtension,

Implementation for unchecked extrinsic.

source§

fn extract_call(&self) -> Call

Implementors§