pub struct MiniRuntime;

Implementations§

source§

impl MiniRuntime

source

pub fn metadata() -> RuntimeMetadataPrefixed

source

pub fn metadata_at_version(version: u32) -> Option<OpaqueMetadata>

source

pub fn metadata_versions() -> Vec<u32>

Trait Implementations§

source§

impl CallerTrait<<MiniRuntime as Config>::AccountId> for OriginCaller

source§

fn into_system(self) -> Option<RawOrigin<<MiniRuntime as Config>::AccountId>>

Extract the signer from the message if it is a Signed origin.
source§

fn as_system_ref( &self ) -> Option<&RawOrigin<<MiniRuntime as Config>::AccountId>>

Extract a reference to the system-level RawOrigin if it is that.
§

fn as_signed(&self) -> Option<&AccountId>

Extract the signer from it if a system Signed origin, None otherwise.
§

fn is_root(&self) -> bool

Returns true if self is a system Root origin, None otherwise.
§

fn is_none(&self) -> bool

Returns true if self is a system None origin, None otherwise.
source§

impl Clone for MiniRuntime

source§

fn clone(&self) -> MiniRuntime

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Config<()> for MiniRuntime

§

type Balance = u128

The type for recording an account’s balance.

§

type RuntimeEvent = RuntimeEvent

The ubiquitous event type.

§

type AccountStore = Pallet<MiniRuntime>

The means of storing the balances of an account.
§

type DustRemoval = ()

Handler for the unbalanced reduction when removing a dust account.
§

type ExistentialDeposit = ExistentialDeposit

The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! Read more
§

type FreezeIdentifier = ()

The ID type for freezes.
§

type MaxFreezes = ConstU32<0>

The maximum number of individual freeze locks that can exist on an account at any time.
§

type MaxHolds = ConstU32<0>

The maximum number of holds that can exist on an account at any time.
§

type MaxLocks = ConstU32<50>

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation.
§

type MaxReserves = ()

The maximum number of named reserves that can exist on an account.
§

type ReserveIdentifier = [u8; 8]

The ID type for reserves. Read more
§

type RuntimeHoldReason = RuntimeHoldReason

The overarching hold reason.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config<()> for MiniRuntime

§

type BridgedChain = Blake2ValU32Chain

The chain we are bridging to here.
§

type EpochOffset = ConstU32<2400>

§

type FastConfirmationOffset = ConstU32<3>

§

type FinalizedConfirmationOffset = ConstU32<10>

§

type HeadersToStore = HeadersToStore

Maximal number of finalized headers to keep in the storage. Read more
§

type LightClientAsyncAPI = Pallet<MiniRuntime>

§

type MyVendor = RococoVendor

§

type RationalConfirmationOffset = ConstU32<10>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = ()

Weights gathered through benchmarking.
source§

impl Config<()> for MiniRuntime

§

type ApprovalDeposit = ApprovalDeposit

The amount of funds that must be reserved when creating a new approval.
§

type AssetAccountDeposit = AssetAccountDeposit

The amount of funds that must be reserved for a non-provider asset account to be maintained.
§

type AssetDeposit = AssetDeposit

The basic amount of funds that must be reserved for an asset.
§

type AssetId = u32

Identifier for the class of asset.
§

type AssetIdParameter = u32

Wrapper around Self::AssetId to use in dispatchable call signatures. Allows the use of compact encoding in instances of the pallet, which will prevent breaking changes resulting from the removal of HasCompact from Self::AssetId. Read more
§

type Balance = u128

The units in which we record balances.
§

type CallbackHandle = ()

Callback methods for asset state change (e.g. asset created or destroyed)
§

type CreateOrigin = AsEnsureOriginWithArg<EnsureSigned<AccountId32>>

Standard asset class creation is only allowed if the origin attempting it and the asset class are in this set.
§

type Currency = Pallet<MiniRuntime, ()>

The currency mechanism.
§

type Extra = ()

Additional data to be stored with an account’s asset balance.
§

type ForceOrigin = EnsureRoot<<MiniRuntime as Config>::AccountId>

The origin which may forcibly create or destroy an asset or otherwise alter privileged attributes.
§

type Freezer = ()

A hook to allow a per-asset, per-account minimum balance to be enforced. This must be respected in all permissionless operations.
§

type MetadataDepositBase = MetadataDepositBase

The basic amount of funds that must be reserved when adding metadata to your asset.
§

type MetadataDepositPerByte = MetadataDepositPerByte

The additional funds that must be reserved for the number of bytes you store in your metadata.
§

type RemoveItemsLimit = ConstU32<1000>

Max number of items to destroy per destroy_accounts and destroy_approvals call. Read more
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type StringLimit = AssetsStringLimit

The maximum length of a name or symbol stored on-chain.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config<()> for MiniRuntime

§

type ApproveOrigin = EnsureRoot<AccountId32>

Origin from which approvals must come.
§

type Burn = ()

Percentage of spare funds (if any) that are burnt per spend period.
§

type BurnDestination = ()

Handler for the unbalanced decrease when treasury funds are burned.
§

type Currency = Pallet<MiniRuntime, ()>

The staking balance.
§

type MaxApprovals = MaxApprovals

The maximum number of approvals that can wait in the spending queue. Read more
§

type OnSlash = Pallet<MiniRuntime, Instance4>

Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§

type PalletId = TreasuryId

The treasury’s pallet id, used for deriving its sovereign account ID.
§

type ProposalBond = ProposalBond

Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not.
§

type ProposalBondMaximum = ()

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type ProposalBondMinimum = ProposalBondMinimum

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type RejectOrigin = EnsureRoot<AccountId32>

Origin from which rejections must come.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SpendFunds = ()

Runtime hooks to external pallet using treasury to compute spend funds.
§

type SpendOrigin = NeverEnsureOrigin<u128>

The origin required for approving spends from the treasury outside of the proposal process. The Success value is the maximum amount that this origin is allowed to spend at a time.
§

type SpendPeriod = SpendPeriod

Period between successive spends.
§

type WeightInfo = SubstrateWeight<MiniRuntime>

Weight information for extrinsics in this pallet.
source§

impl Config<Instance1> for MiniRuntime

§

type BridgedChain = Blake2ValU32Chain

The chain we are bridging to here.
§

type EpochOffset = ConstU32<2400>

§

type FastConfirmationOffset = ConstU32<3>

§

type FinalizedConfirmationOffset = ConstU32<10>

§

type HeadersToStore = HeadersToStore

Maximal number of finalized headers to keep in the storage. Read more
§

type LightClientAsyncAPI = Pallet<MiniRuntime>

§

type MyVendor = PolkadotVendor

§

type RationalConfirmationOffset = ConstU32<10>

§

type RuntimeEvent = RuntimeEvent

§

type WeightInfo = ()

Weights gathered through benchmarking.
source§

impl Config<Instance1> for MiniRuntime

§

type ApproveOrigin = EnsureRoot<AccountId32>

Origin from which approvals must come.
§

type Burn = ()

Percentage of spare funds (if any) that are burnt per spend period.
§

type BurnDestination = ()

Handler for the unbalanced decrease when treasury funds are burned.
§

type Currency = Pallet<MiniRuntime, ()>

The staking balance.
§

type MaxApprovals = MaxApprovals

The maximum number of approvals that can wait in the spending queue. Read more
§

type OnSlash = Pallet<MiniRuntime, Instance4>

Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
§

type PalletId = EscrowTreasuryId

The treasury’s pallet id, used for deriving its sovereign account ID.
§

type ProposalBond = ProposalBond

Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not.
§

type ProposalBondMaximum = ()

Maximum amount of funds that should be placed in a deposit for making a proposal.
§

type ProposalBondMinimum = ProposalBondMinimum

Minimum amount of funds that should be placed in a deposit for making a proposal.
§

type RejectOrigin = EnsureRoot<AccountId32>

Origin from which rejections must come.
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SpendFunds = ()

Runtime hooks to external pallet using treasury to compute spend funds.
§

type SpendOrigin = NeverEnsureOrigin<u128>

The origin required for approving spends from the treasury outside of the proposal process. The Success value is the maximum amount that this origin is allowed to spend at a time.
§

type SpendPeriod = SpendPeriod

Period between successive spends.
§

type WeightInfo = SubstrateWeight<MiniRuntime>

Weight information for extrinsics in this pallet.
source§

impl Config for MiniRuntime

source§

impl Config for MiniRuntime

source§

impl Config for MiniRuntime

§

type AccountManager = Pallet<MiniRuntime>

A type that provides access to AccountManager
§

type Attesters = Pallet<MiniRuntime>

§

type Balances = Pallet<MiniRuntime, ()>

A type that provides inspection and mutation to some fungible assets
§

type Currency = Pallet<MiniRuntime, ()>

§

type DeletionQueueLimit = ConstU32<100>

The Circuit’s deletion queue limit - preventing potential delay when queue is too long in on_initialize
§

type Executors = ExecutorsMock<MiniRuntime>

§

type Portal = Pallet<MiniRuntime>

A type that gives access to the new portal functionality
§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SFXBiddingPeriod = ConstU32<3>

The Circuit’s SFX Bidding Period
§

type SelfAccountId = CircuitAccountId

The Circuit’s account id
§

type SelfGatewayId = SelfGatewayId

The Circuit’s self gateway id
§

type SelfParaId = ConstU32<3333>

The Circuit’s self parachain id
§

type SignalQueueDepth = ConstU32<5>

The maximum number of signals that can be queued for handling. Read more
§

type TreasuryAccounts = MiniRuntime

§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
§

type Xdns = Pallet<MiniRuntime>

A type that provides access to Xdns
§

type XtxTimeoutCheckInterval = ConstU32<10>

The Circuit’s Xtx timeout check interval
§

type XtxTimeoutDefault = ConstU32<400>

The Circuit’s Default Xtx timeout
source§

impl Config for MiniRuntime

source§

impl Config for MiniRuntime

§

type AccountManager = Pallet<MiniRuntime>

§

type AttesterBootstrapRewards = AttesterBootstrapRewards

§

type AttesterInflation = AttesterInflation

The attester’s portion of the total inflation, expressed as a Perbill. Read more
§

type Attesters = Pallet<MiniRuntime>

§

type AvailableBootstrapSpenditure = AvailableBootstrapSpenditure

§

type Clock = Pallet<MiniRuntime>

§

type CollatorBootstrapRewards = CollatorBootstrapRewards

§

type CollatorInflation = CollatorInflation

The collator’s portion of the total inflation, expressed as a Perbill. Read more
§

type Currency = Pallet<MiniRuntime, ()>

§

type ExecutorBootstrapRewards = ExecutorBootstrapRewards

§

type ExecutorInflation = ExecutorInflation

The executor’s portion of the total inflation, expressed as a Perbill. Read more
§

type FindAuthor = FindAuthorMockRoundRobinRotate32

Find the author of a block.
§

type InflationDistributionPeriod = InflationDistributionPeriod

The number of blocks between inflation distribution. Read more
§

type OneYear = OneYear

The number of blocks in one year. Read more
§

type RuntimeEvent = RuntimeEvent

§

type StartingRepatriationPercentage = StartingRepatriationPercentage

§

type TotalInflation = TotalInflation

The total inflation per year, expressed as a Perbill. Read more
§

type TreasuryAccounts = MiniRuntime

§

type TreasuryInflation = TreasuryInflation

The treasury’s portion of the total inflation, expressed as a Perbill. Read more
source§

impl Config for MiniRuntime

§

type Currency = Pallet<MiniRuntime, ()>

Currency access
§

type RuntimeEvent = RuntimeEvent

Because this pallet emits events, it depends on the runtime’s definition of an event.
§

type SelectLightClient = SelectLightClientRegistry

Selects the light client implementation
§

type WeightInfo = SubstrateWeight<MiniRuntime>

Type representing the weight of this pallet
§

type Xdns = Pallet<MiniRuntime>

Access to XDNS pallet
source§

impl Config for MiniRuntime

source§

impl Config for MiniRuntime

§

type AssetsOverlay = MiniRuntime

§

type AttestersRead = Pallet<MiniRuntime>

§

type Balances = Pallet<MiniRuntime, ()>

A type that provides inspection and mutation to some fungible assets
§

type CircuitDLQ = Pallet<MiniRuntime>

§

type Currency = Pallet<MiniRuntime, ()>

§

type Portal = Pallet<MiniRuntime>

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type SelfGatewayId = SelfGatewayId

§

type SelfTokenId = ConstU32<3333>

§

type Time = Pallet<MiniRuntime>

§

type TreasuryAccounts = MiniRuntime

§

type WeightInfo = SubstrateWeight<MiniRuntime>

Type representing the weight of this pallet
source§

impl Config for MiniRuntime

§

type Moment = u64

A timestamp: milliseconds since the unix epoch.

§

type MinimumPeriod = MinimumPeriod

The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings.
§

type OnTimestampSet = ()

Something which can be notified when the timestamp is set. Set this to () if not needed.
§

type WeightInfo = ()

Weight information for extrinsics in this pallet.
source§

impl Config for MiniRuntime

§

type OnFinalizeQueues = EmptyOnHookQueues<MiniRuntime>

§

type OnInitializeQueues = GlobalOnInitQueues

Description of on_initialize queues and their max. consumption of % of total on_init weight. The first element of the tuple is the queue name, the second is the max. % of total on_init weight.}
§

type RoundDuration = ConstU32<300>

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
source§

impl Config for MiniRuntime

§

type AssetBalanceOf = ConvertInto

§

type AssetId = u32

§

type Assets = Pallet<MiniRuntime, ()>

§

type Clock = Pallet<MiniRuntime>

§

type Currency = Pallet<MiniRuntime, ()>

§

type EscrowAccount = EscrowAccount

§

type Executors = ExecutorsMock<MiniRuntime>

§

type RuntimeEvent = RuntimeEvent

The overarching event type.
§

type Time = Pallet<MiniRuntime>

Type providing some time handler
§

type WeightInfo = ()

Type representing the weight of this pallet
source§

impl Config for MiniRuntime

§

type AccountData = AccountData<u128>

Data to be associated with an account (other than nonce/transaction counter, which this pallet does regardless).
§

type AccountId = AccountId32

The user account identifier type for the runtime.
§

type BaseCallFilter = Everything

The basic call filter to use in Origin. All origins are built with this filter as base, except Root.
§

type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<MiniRuntime as Config>::AccountId, <MiniRuntime as Config>::RuntimeCall, (), ()>>

The Block type used by the runtime. This is used by construct_runtime to retrieve the extrinsics or other block specific data as needed.
§

type BlockHashCount = ()

Maximum number of block number to block hash mappings to keep (oldest pruned first).
§

type BlockLength = ()

The maximum length of a block (in bytes).
§

type BlockWeights = ()

Block & extrinsics weights: base values and limits.
§

type DbWeight = ()

The weight of runtime database operations the runtime can invoke.
§

type Hash = H256

The output of the Hashing function.
§

type Hashing = BlakeTwo256

The hashing system (algorithm) being used in the runtime (e.g. Blake2).
§

type Lookup = IdentityLookup<<MiniRuntime as Config>::AccountId>

Converting trait to take a source type and convert to AccountId. Read more
§

type MaxConsumers = ConstU32<16>

The maximum number of consumers allowed on a single account.
§

type Nonce = u32

This stores the number of previous transactions associated with a sender account.
§

type OnKilledAccount = ()

A function that is invoked when an account has been determined to be dead. Read more
§

type OnNewAccount = ()

Handler for when a new account has just been created.
§

type OnSetCode = ()

What to do if the runtime wants to change the code to something new. Read more
§

type PalletInfo = PalletInfo

Provides information about the pallet setup in the runtime. Read more
§

type RuntimeCall = RuntimeCall

The aggregated RuntimeCall type.
§

type RuntimeEvent = RuntimeEvent

The aggregated event type of the runtime.
§

type RuntimeOrigin = RuntimeOrigin

The RuntimeOrigin type used by dispatchable calls.
§

type SS58Prefix = ()

The designated SS58 prefix of this chain. Read more
§

type SystemWeightInfo = ()

§

type Version = ()

Get the chain’s current version.
source§

impl Debug for MiniRuntime

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl EnsureInherentsAreFirst<<MiniRuntime as Config>::Block> for MiniRuntime

source§

fn ensure_inherents_are_first( block: &<MiniRuntime as Config>::Block ) -> Result<(), u32>

Ensure the position of inherent is correct, i.e. they are before non-inherents. Read more
source§

impl GetRuntimeBlockType for MiniRuntime

§

type RuntimeBlock = <MiniRuntime as Config>::Block

The RuntimeBlock type.
source§

impl OnHookQueues<MiniRuntime> for GlobalOnInitQueues

source§

fn process(n: BlockNumber, on_init_weight_limit: Weight) -> Weight

source§

fn process_bi_weekly(_n: BlockNumber, hook_weight_limit: Weight) -> Weight

source§

fn process_weekly(_n: BlockNumber, _hook_weight_limit: Weight) -> Weight

source§

fn process_daily(_n: BlockNumber, _hook_weight_limit: Weight) -> Weight

source§

fn process_hourly(n: BlockNumber, hook_weight_limit: Weight) -> Weight

source§

impl PalletAssetsOverlay<MiniRuntime, u128> for MiniRuntime

source§

fn contains_asset(asset_id: &AssetId) -> bool

source§

fn force_create_asset( origin: RuntimeOrigin, asset_id: AssetId, admin: AccountId, is_sufficient: bool, min_balance: Balance ) -> DispatchResult

source§

fn destroy( origin: RuntimeOrigin, asset_id: &AssetId ) -> DispatchResultWithPostInfo

source§

fn mint( origin: RuntimeOrigin, asset_id: AssetId, user: AccountId, amount: Balance ) -> DispatchResult

source§

fn burn( origin: RuntimeOrigin, asset_id: AssetId, user: AccountId, amount: Balance ) -> DispatchResult

source§

impl PartialEq<MiniRuntime> for MiniRuntime

source§

fn eq(&self, other: &MiniRuntime) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl SelectLightClient<MiniRuntime> for SelectLightClientRegistry

source§

fn select( vendor: GatewayVendor ) -> Result<Box<dyn LightClient<MiniRuntime>>, PortalError<MiniRuntime>>

source§

impl TreasuryAccountProvider<AccountId32> for MiniRuntime

source§

fn get_treasury_account(treasury_account: TreasuryAccount) -> AccountId

source§

impl TypeInfo for MiniRuntime

§

type Identity = MiniRuntime

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl ValidateUnsigned for MiniRuntime

§

type Call = RuntimeCall

The call to validate
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
source§

fn validate_unsigned( source: TransactionSource, call: &Self::Call ) -> TransactionValidity

Return the validity of the call Read more
source§

impl Config for MiniRuntime

source§

impl Copy for MiniRuntime

source§

impl Eq for MiniRuntime

source§

impl StructuralEq for MiniRuntime

source§

impl StructuralPartialEq for MiniRuntime

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
§

fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IsType<T> for T

§

fn from_ref(t: &T) -> &T

Cast reference.
§

fn into_ref(&self) -> &T

Cast reference.
§

fn from_mut(t: &mut T) -> &mut T

Cast mutable reference.
§

fn into_mut(&mut self) -> &mut T

Cast mutable reference.
§

impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

§

impl<T> Pipe for Twhere T: ?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
§

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

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

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

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,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

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

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,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> Rwhere Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
§

fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

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

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

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

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

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

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

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

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

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

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

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

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,

§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
§

impl<T> JsonSchemaMaybe for T

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> Member for Twhere T: Send + Sync + Debug + Eq + PartialEq<T> + Clone + 'static,

§

impl<T> StaticTypeInfo for Twhere T: TypeInfo + 'static,