Trait ExtractCall

Source
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§