Enum basilisk_runtime::Call
source · pub enum Call {
Show 42 variants
System(CallableCallFor<System, Runtime>),
Timestamp(CallableCallFor<Timestamp, Runtime>),
Balances(CallableCallFor<Balances, Runtime>),
Treasury(CallableCallFor<Treasury, Runtime>),
Utility(CallableCallFor<Utility, Runtime>),
Democracy(CallableCallFor<Democracy, Runtime>),
Elections(CallableCallFor<Elections, Runtime>),
Council(CallableCallFor<Council, Runtime>),
TechnicalCommittee(CallableCallFor<TechnicalCommittee, Runtime>),
Vesting(CallableCallFor<Vesting, Runtime>),
Proxy(CallableCallFor<Proxy, Runtime>),
Tips(CallableCallFor<Tips, Runtime>),
Authorship(CallableCallFor<Authorship, Runtime>),
CollatorSelection(CallableCallFor<CollatorSelection, Runtime>),
Session(CallableCallFor<Session, Runtime>),
Preimage(CallableCallFor<Preimage, Runtime>),
Uniques(CallableCallFor<Uniques, Runtime>),
Identity(CallableCallFor<Identity, Runtime>),
Multisig(CallableCallFor<Multisig, Runtime>),
ParachainSystem(CallableCallFor<ParachainSystem, Runtime>),
ParachainInfo(CallableCallFor<ParachainInfo, Runtime>),
Scheduler(CallableCallFor<Scheduler, Runtime>),
PolkadotXcm(CallableCallFor<PolkadotXcm, Runtime>),
CumulusXcm(CallableCallFor<CumulusXcm, Runtime>),
DmpQueue(CallableCallFor<DmpQueue, Runtime>),
AssetRegistry(CallableCallFor<AssetRegistry, Runtime>),
XYK(CallableCallFor<XYK, Runtime>),
Duster(CallableCallFor<Duster, Runtime>),
LBP(CallableCallFor<LBP, Runtime>),
NFT(CallableCallFor<NFT, Runtime>),
MultiTransactionPayment(CallableCallFor<MultiTransactionPayment, Runtime>),
RelayChainInfo(CallableCallFor<RelayChainInfo, Runtime>),
Marketplace(CallableCallFor<Marketplace, Runtime>),
TransactionPause(CallableCallFor<TransactionPause, Runtime>),
Router(CallableCallFor<Router, Runtime>),
XYKLiquidityMining(CallableCallFor<XYKLiquidityMining, Runtime>),
XYKWarehouseLM(CallableCallFor<XYKWarehouseLM, Runtime>),
Currencies(CallableCallFor<Currencies, Runtime>),
Tokens(CallableCallFor<Tokens, Runtime>),
OrmlXcm(CallableCallFor<OrmlXcm, Runtime>),
XTokens(CallableCallFor<XTokens, Runtime>),
UnknownTokens(CallableCallFor<UnknownTokens, Runtime>),
}
Variants§
System(CallableCallFor<System, Runtime>)
Timestamp(CallableCallFor<Timestamp, Runtime>)
Balances(CallableCallFor<Balances, Runtime>)
Treasury(CallableCallFor<Treasury, Runtime>)
Utility(CallableCallFor<Utility, Runtime>)
Democracy(CallableCallFor<Democracy, Runtime>)
Elections(CallableCallFor<Elections, Runtime>)
Council(CallableCallFor<Council, Runtime>)
TechnicalCommittee(CallableCallFor<TechnicalCommittee, Runtime>)
Vesting(CallableCallFor<Vesting, Runtime>)
Proxy(CallableCallFor<Proxy, Runtime>)
Tips(CallableCallFor<Tips, Runtime>)
Authorship(CallableCallFor<Authorship, Runtime>)
CollatorSelection(CallableCallFor<CollatorSelection, Runtime>)
Session(CallableCallFor<Session, Runtime>)
Preimage(CallableCallFor<Preimage, Runtime>)
Uniques(CallableCallFor<Uniques, Runtime>)
Identity(CallableCallFor<Identity, Runtime>)
Multisig(CallableCallFor<Multisig, Runtime>)
ParachainSystem(CallableCallFor<ParachainSystem, Runtime>)
ParachainInfo(CallableCallFor<ParachainInfo, Runtime>)
Scheduler(CallableCallFor<Scheduler, Runtime>)
PolkadotXcm(CallableCallFor<PolkadotXcm, Runtime>)
CumulusXcm(CallableCallFor<CumulusXcm, Runtime>)
DmpQueue(CallableCallFor<DmpQueue, Runtime>)
AssetRegistry(CallableCallFor<AssetRegistry, Runtime>)
XYK(CallableCallFor<XYK, Runtime>)
Duster(CallableCallFor<Duster, Runtime>)
LBP(CallableCallFor<LBP, Runtime>)
NFT(CallableCallFor<NFT, Runtime>)
MultiTransactionPayment(CallableCallFor<MultiTransactionPayment, Runtime>)
RelayChainInfo(CallableCallFor<RelayChainInfo, Runtime>)
Marketplace(CallableCallFor<Marketplace, Runtime>)
TransactionPause(CallableCallFor<TransactionPause, Runtime>)
Router(CallableCallFor<Router, Runtime>)
XYKLiquidityMining(CallableCallFor<XYKLiquidityMining, Runtime>)
XYKWarehouseLM(CallableCallFor<XYKWarehouseLM, Runtime>)
Currencies(CallableCallFor<Currencies, Runtime>)
Tokens(CallableCallFor<Tokens, Runtime>)
OrmlXcm(CallableCallFor<OrmlXcm, Runtime>)
XTokens(CallableCallFor<XTokens, Runtime>)
UnknownTokens(CallableCallFor<UnknownTokens, Runtime>)
Trait Implementations§
source§impl Contains<Call> for BaseFilter
impl Contains<Call> for BaseFilter
source§impl Decode for Call
impl Decode for Call
source§impl Dispatchable for Call
impl Dispatchable for Call
§type Origin = Origin
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 Info = DispatchInfo
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
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 moresource§fn dispatch(self, origin: Origin) -> DispatchResultWithPostInfo
fn dispatch(self, origin: Origin) -> DispatchResultWithPostInfo
Actually dispatch this call and return the result of it.
source§impl Encode for Call
impl Encode for Call
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
Convert self to a slice and append it to the destination.
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
source§impl From<<Pallet<Runtime, Instance1> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime, Instance1> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<XYKWarehouseLM, Runtime>) -> Self
fn from(call: CallableCallFor<XYKWarehouseLM, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime, Instance2> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime, Instance2> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<TechnicalCommittee, Runtime>) -> Self
fn from(call: CallableCallFor<TechnicalCommittee, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<ParachainSystem, Runtime>) -> Self
fn from(call: CallableCallFor<ParachainSystem, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<ParachainInfo, Runtime>) -> Self
fn from(call: CallableCallFor<ParachainInfo, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<PolkadotXcm, Runtime>) -> Self
fn from(call: CallableCallFor<PolkadotXcm, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<CumulusXcm, Runtime>) -> Self
fn from(call: CallableCallFor<CumulusXcm, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<AssetRegistry, Runtime>) -> Self
fn from(call: CallableCallFor<AssetRegistry, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<MultiTransactionPayment, Runtime>) -> Self
fn from(call: CallableCallFor<MultiTransactionPayment, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<RelayChainInfo, Runtime>) -> Self
fn from(call: CallableCallFor<RelayChainInfo, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<Marketplace, Runtime>) -> Self
fn from(call: CallableCallFor<Marketplace, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<TransactionPause, Runtime>) -> Self
fn from(call: CallableCallFor<TransactionPause, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<XYKLiquidityMining, Runtime>) -> Self
fn from(call: CallableCallFor<XYKLiquidityMining, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<Currencies, Runtime>) -> Self
fn from(call: CallableCallFor<Currencies, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<UnknownTokens, Runtime>) -> Self
fn from(call: CallableCallFor<UnknownTokens, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<Authorship, Runtime>) -> Self
fn from(call: CallableCallFor<Authorship, Runtime>) -> Self
Converts to this type from the input type.
source§impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl From<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn from(call: CallableCallFor<CollatorSelection, Runtime>) -> Self
fn from(call: CallableCallFor<CollatorSelection, Runtime>) -> Self
Converts to this type from the input type.
source§impl GetCallMetadata for Call
impl GetCallMetadata for Call
source§fn get_call_metadata(&self) -> CallMetadata
fn get_call_metadata(&self) -> CallMetadata
Return a
CallMetadata
, containing function and pallet name of the Call.source§fn get_module_names() -> &'static [&'static str]
fn get_module_names() -> &'static [&'static str]
Return all module names.
source§fn get_call_names(module: &str) -> &'static [&'static str]
fn get_call_names(module: &str) -> &'static [&'static str]
Return all function names for the given
module
.source§impl GetDispatchInfo for Call
impl GetDispatchInfo for Call
source§fn get_dispatch_info(&self) -> DispatchInfo
fn get_dispatch_info(&self) -> DispatchInfo
Return a
DispatchInfo
, containing relevant information of this dispatch. Read moresource§impl InstanceFilter<Call> for ProxyType
impl InstanceFilter<Call> for ProxyType
source§impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Balances, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Balances, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Treasury, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Treasury, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Tips, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Tips, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime, ()> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Uniques, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Uniques, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime, Instance1> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime, Instance1> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Council, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Council, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime, Instance1> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime, Instance1> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<XYKWarehouseLM, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<XYKWarehouseLM, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime, Instance2> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime, Instance2> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<TechnicalCommittee, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<TechnicalCommittee, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<System, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<System, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Timestamp, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Timestamp, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Preimage, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Preimage, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Identity, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Identity, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Multisig, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Multisig, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<ParachainSystem, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<ParachainSystem, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<ParachainInfo, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<ParachainInfo, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Scheduler, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Scheduler, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<PolkadotXcm, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<PolkadotXcm, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<CumulusXcm, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<CumulusXcm, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<DmpQueue, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<DmpQueue, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<AssetRegistry, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<AssetRegistry, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Utility, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Utility, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<XYK, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<XYK, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Duster, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Duster, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<LBP, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<LBP, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<NFT, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<NFT, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(
&self
) -> Option<&CallableCallFor<MultiTransactionPayment, Runtime>>
fn is_sub_type(
&self
) -> Option<&CallableCallFor<MultiTransactionPayment, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<RelayChainInfo, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<RelayChainInfo, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Marketplace, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Marketplace, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<TransactionPause, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<TransactionPause, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Router, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Router, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<XYKLiquidityMining, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<XYKLiquidityMining, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Democracy, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Democracy, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Currencies, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Currencies, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Tokens, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Tokens, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<OrmlXcm, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<OrmlXcm, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<XTokens, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<XTokens, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<UnknownTokens, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<UnknownTokens, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Elections, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Elections, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Vesting, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Vesting, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Proxy, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Proxy, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Authorship, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Authorship, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<CollatorSelection, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<CollatorSelection, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
impl IsSubType<<Pallet<Runtime> as Callable<Runtime>>::Call> for Call
source§fn is_sub_type(&self) -> Option<&CallableCallFor<Session, Runtime>>
fn is_sub_type(&self) -> Option<&CallableCallFor<Session, Runtime>>
Returns
Some(_)
if self
is an instance of sub type T
.source§impl UnfilteredDispatchable for Call
impl UnfilteredDispatchable for Call
source§fn dispatch_bypass_filter(self, origin: Origin) -> DispatchResultWithPostInfo
fn dispatch_bypass_filter(self, origin: Origin) -> DispatchResultWithPostInfo
Dispatch this call but do not check the filter in origin.
impl EncodeLike<Call> for Call
impl Eq for Call
impl StructuralEq for Call
impl StructuralPartialEq for Call
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§
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> DecodeLimit for Twhere
T: Decode,
impl<T> DecodeLimit for Twhere
T: Decode,
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read moresource§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresource§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresource§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read moresource§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
source§impl<T> Hashable for Twhere
T: Codec,
impl<T> Hashable for Twhere
T: Codec,
fn blake2_128(&self) -> [u8; 16]
fn blake2_256(&self) -> [u8; 32]
fn blake2_128_concat(&self) -> Vec<u8, Global> ⓘ
fn twox_128(&self) -> [u8; 16]
fn twox_256(&self) -> [u8; 32]
fn twox_64_concat(&self) -> Vec<u8, Global> ⓘ
fn identity(&self) -> Vec<u8, Global> ⓘ
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> Rwhere
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> Rwhere
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
Borrows
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
Self: Deref<Target = T>,
T: ?Sized,
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
Mutable access to the
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds. Read moresource§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds. Read moresource§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds. Read moresource§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
Calls
.tap_ref()
only in debug builds, and is erased in release
builds. Read moresource§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds. Read moresource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.