Enum governance_os_runtime::Call [−][src]
pub enum Call { System(CallableCallFor<System, Runtime>), RandomnessCollectiveFlip(CallableCallFor<RandomnessCollectiveFlip, Runtime>), Compat(CallableCallFor<Compat, Runtime>), Grandpa(CallableCallFor<Grandpa, Runtime>), Timestamp(CallableCallFor<Timestamp, Runtime>), Tokens(CallableCallFor<Tokens, Runtime>), Bylaws(CallableCallFor<Bylaws, Runtime>), CoinVoting(CallableCallFor<CoinVoting, Runtime>), ConvictionVoting(CallableCallFor<ConvictionVoting, Runtime>), PlcrVoting(CallableCallFor<PlcrVoting, Runtime>), Organizations(CallableCallFor<Organizations, Runtime>), }
Variants
System(CallableCallFor<System, Runtime>)
RandomnessCollectiveFlip(CallableCallFor<RandomnessCollectiveFlip, Runtime>)
Compat(CallableCallFor<Compat, Runtime>)
Grandpa(CallableCallFor<Grandpa, Runtime>)
Timestamp(CallableCallFor<Timestamp, Runtime>)
Tokens(CallableCallFor<Tokens, Runtime>)
Bylaws(CallableCallFor<Bylaws, Runtime>)
CoinVoting(CallableCallFor<CoinVoting, Runtime>)
ConvictionVoting(CallableCallFor<ConvictionVoting, Runtime>)
PlcrVoting(CallableCallFor<PlcrVoting, Runtime>)
Organizations(CallableCallFor<Organizations, Runtime>)
Trait Implementations
impl Dispatchable for Call
[src]
impl Dispatchable for Call
[src]type Origin = Origin
Every function call from your runtime has an origin, which specifies where the extrinsic was generated from. In the case of a signed extrinsic (transaction), the origin contains an identifier for the caller. The origin can be empty in the case of an inherent extrinsic. Read more
type Config = Call
…
type Info = DispatchInfo
An opaque set of information attached to the transaction. This could be constructed anywhere down the line in a runtime. The current Substrate runtime uses a struct with the same name to represent the dispatch class and weight. Read more
type PostInfo = PostDispatchInfo
Additional information that is returned by dispatch
. Can be used to supply the caller
with information about a Dispatchable
that is ownly known post dispatch. Read more
fn dispatch(self, origin: Origin) -> DispatchResultWithPostInfo
[src]
impl Encode for Call
[src]
impl Encode for Call
[src]fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
[src]
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
pub fn size_hint(&self) -> usize
[src]
pub fn encode(&self) -> Vec<u8, Global>
[src]
pub fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
pub fn encoded_size(&self) -> usize
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<RandomnessCollectiveFlip, Runtime>) -> Self
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<Grandpa, Runtime>) -> Self
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<Tokens, Runtime>) -> Self
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<CoinVoting, Runtime>) -> Self
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<ConvictionVoting, Runtime>) -> Self
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<PlcrVoting, Runtime>) -> Self
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<Organizations, Runtime>) -> Self
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<System, Runtime>) -> Self
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<Compat, Runtime>) -> Self
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<Timestamp, Runtime>) -> Self
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn from(call: CallableCallFor<Bylaws, Runtime>) -> Self
[src]
impl GetCallMetadata for Call
[src]
impl GetCallMetadata for Call
[src]fn get_call_metadata(&self) -> CallMetadata
[src]
fn get_module_names() -> &'static [&'static str]
[src]
fn get_call_names(module: &str) -> &'static [&'static str]
[src]
impl GetDispatchInfo for Call
[src]
impl GetDispatchInfo for Call
[src]fn get_dispatch_info(&self) -> DispatchInfo
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(
&self
) -> Option<&CallableCallFor<RandomnessCollectiveFlip, Runtime>>
[src]
&self
) -> Option<&CallableCallFor<RandomnessCollectiveFlip, Runtime>>
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<Grandpa, Runtime>>
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<Tokens, Runtime>>
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<CoinVoting, Runtime>>
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<ConvictionVoting, Runtime>>
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<PlcrVoting, Runtime>>
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Module<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<Organizations, Runtime>>
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<System, Runtime>>
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<Compat, Runtime>>
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<Timestamp, Runtime>>
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
[src]fn is_sub_type(&self) -> Option<&CallableCallFor<Bylaws, Runtime>>
[src]
impl UnfilteredDispatchable for Call
[src]
impl UnfilteredDispatchable for Call
[src]type Origin = Origin
The origin type of the runtime, (i.e. frame_system::Config::Origin
).
fn dispatch_bypass_filter(self, origin: Origin) -> DispatchResultWithPostInfo
[src]
impl EncodeLike<Call> for Call
[src]
impl Eq for Call
[src]
impl StructuralEq for Call
[src]
impl StructuralPartialEq for Call
[src]
Auto Trait Implementations
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
Blanket Implementations
impl<T> CheckedConversion for T
[src]
impl<T> CheckedConversion for T
[src]pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
Self: TryInto<T>,
impl<T> DecodeLimit for T where
T: Decode,
[src]
impl<T> DecodeLimit for T where
T: Decode,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Hashable for T where
T: Codec,
[src]
impl<T> Hashable for T where
T: Codec,
[src]pub fn blake2_128(&self) -> [u8; 16]
[src]
pub fn blake2_256(&self) -> [u8; 32]
[src]
pub fn blake2_128_concat(&self) -> Vec<u8, Global>
[src]
pub fn twox_128(&self) -> [u8; 16]
[src]
pub fn twox_256(&self) -> [u8; 32]
[src]
pub fn twox_64_concat(&self) -> Vec<u8, Global>
[src]
pub fn identity(&self) -> Vec<u8, Global>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<T> SaturatedConversion for T
[src]
impl<T> SaturatedConversion for T
[src]pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
[src]
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
[src]
Self: UniqueSaturatedInto<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(self) -> T
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]pub fn unique_saturated_into(self) -> T
[src]
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,
pub fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
impl<S> Codec for S where
S: Decode + Encode,
[src]
S: Decode + Encode,
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<'a, T> EncodeLike<Cow<'a, T>> for T where
T: ToOwned + Encode,
[src]
T: ToOwned + Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<S> FullCodec for S where
S: Decode + FullEncode,
[src]
S: Decode + FullEncode,
impl<S> FullEncode for S where
S: Encode + EncodeLike<S>,
[src]
S: Encode + EncodeLike<S>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Member for T where
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
[src]
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
impl<T> Parameter for T where
T: Codec + EncodeLike<T> + Clone + Eq + Debug,
[src]
T: Codec + EncodeLike<T> + Clone + Eq + Debug,