Trait gear_common::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§
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,
impl<Address, Call, Extra> ExtractCall<Call> for CheckedExtrinsic<Address, Call, Extra>where
Call: Dispatchable + Clone,
Implementation for checked extrinsic.
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,
impl<Address, Call, Signature, Extra> ExtractCall<Call> for UncheckedExtrinsic<Address, Call, Signature, Extra>where
Call: Dispatchable + Clone,
Extra: SignedExtension,
Implementation for unchecked extrinsic.