Trait frame_support::dispatch::marker::Freeze

source ยท
pub unsafe auto trait Freeze { }
๐Ÿ”ฌThis is a nightly-only experimental API. (freeze)
Expand description

Used to determine whether a type contains any UnsafeCell internally, but not through an indirection. This affects, for example, whether a static of that type is placed in read-only static memory or writable static memory. This can be used to declare that a constant with a generic type will not contain interior mutability, and subsequently allow placing the constant behind references.

ยงSafety

This trait is a core part of the language, it is just expressed as a trait in libcore for convenience. Do not implement it for other types.

Implementorsยง

sourceยง

impl<T> !Freeze for UnsafeCell<T>
where T: ?Sized,

sourceยง

impl<T> Freeze for *const T
where T: ?Sized,

sourceยง

impl<T> Freeze for *mut T
where T: ?Sized,

sourceยง

impl<T> Freeze for &T
where T: ?Sized,

sourceยง

impl<T> Freeze for &mut T
where T: ?Sized,

sourceยง

impl<T> Freeze for PhantomData<T>
where T: ?Sized,

1.28.0 ยท sourceยง

impl<T> Freeze for NonZero<T>

Auto implementorsยง

ยง

impl Freeze for Never

ยง

impl Freeze for Void

ยง

impl Freeze for DispatchError

ยง

impl Freeze for InvalidTransaction

ยง

impl Freeze for TransactionSource

ยง

impl Freeze for TransactionValidityError

ยง

impl Freeze for UnknownTransaction

ยง

impl Freeze for ChildInfo

ยง

impl Freeze for ChildType

ยง

impl Freeze for KillStorageResult

ยง

impl Freeze for StateVersion

ยง

impl Freeze for Everything

ยง

impl Freeze for ExecuteOverweightError

ยง

impl Freeze for Nothing

ยง

impl Freeze for ProcessMessageError

ยง

impl Freeze for Select

ยง

impl Freeze for UpgradeCheckSelect

ยง

impl Freeze for LookupError

ยง

impl Freeze for BalanceStatus

ยง

impl Freeze for DepositConsequence

ยง

impl Freeze for ExistenceRequirement

ยง

impl Freeze for Fortitude

ยง

impl Freeze for Precision

ยง

impl Freeze for Preservation

ยง

impl Freeze for Provenance

ยง

impl Freeze for Restriction

ยง

impl Freeze for PaymentStatus

ยง

impl Freeze for DispatchClass

ยง

impl Freeze for Pays

ยง

impl Freeze for Alignment

ยง

impl Freeze for CheckInherentsResult

ยง

impl Freeze for Instance1

ยง

impl Freeze for GetDefault

ยง

impl Freeze for InherentData

ยง

impl Freeze for ValidTransaction

ยง

impl Freeze for Weight

ยง

impl Freeze for MultiRemovalResults

ยง

impl Freeze for StorageNoopGuard

ยง

impl Freeze for OptionQuery

ยง

impl Freeze for ValueQuery

ยง

impl Freeze for Blake2_128

ยง

impl Freeze for Blake2_128Concat

ยง

impl Freeze for Blake2_256

ยง

impl Freeze for Identity

ยง

impl Freeze for OpaqueMetadata

ยง

impl Freeze for PalletId

ยง

impl Freeze for Twox64Concat

ยง

impl Freeze for Twox128

ยง

impl Freeze for Twox256

ยง

impl Freeze for Backing

ยง

impl Freeze for CallMetadata

ยง

impl Freeze for CrateVersion

ยง

impl Freeze for EqualPrivilegeOnly

ยง

impl Freeze for Footprint

ยง

impl Freeze for NoStorageVersionSet

ยง

impl Freeze for PalletInfoData

ยง

impl Freeze for StorageInfo

ยง

impl Freeze for StorageVersion

ยง

impl Freeze for TrackedStorageKey

ยง

impl Freeze for WithdrawReasons

ยง

impl Freeze for BlockExecutionWeight

ยง

impl Freeze for ExtrinsicBaseWeight

ยง

impl Freeze for ParityDbWeight

ยง

impl Freeze for RocksDbWeight

ยง

impl Freeze for OldWeight

ยง

impl Freeze for RuntimeDbWeight

ยง

impl Freeze for WeightMeter

ยง

impl Freeze for Error

ยง

impl Freeze for DispatchInfo

ยง

impl Freeze for PostDispatchInfo

ยง

impl Freeze for PhantomPinned

ยง

impl Freeze for Maybe

ยง

impl Freeze for NoRuntime

ยง

impl Freeze for Runtime

ยง

impl<'a> Freeze for Arguments<'a>

ยง

impl<'a> Freeze for Formatter<'a>

ยง

impl<'a, 'b> Freeze for DebugList<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugMap<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugSet<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugStruct<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugTuple<'a, 'b>

ยง

impl<'a, T> Freeze for Value<'a, T>
where T: Freeze,

ยง

impl<'a, T> Freeze for Iter<'a, T>

ยง

impl<'a, T> Freeze for IterMut<'a, T>

ยง

impl<'a, T, S> Freeze for BoundedSlice<'a, T, S>

ยง

impl<A, B> Freeze for SameOrOther<A, B>
where A: Freeze, B: Freeze,

ยง

impl<A, B, OnDrop, OppositeOnDrop> Freeze for frame_support::traits::tokens::fungibles::Imbalance<A, B, OnDrop, OppositeOnDrop>
where A: Freeze, B: Freeze,

ยง

impl<A, T> Freeze for frame_support::traits::tokens::fungible::Dust<A, T>
where <T as Inspect<A>>::Balance: Freeze,

ยง

impl<A, T> Freeze for frame_support::traits::tokens::fungibles::Dust<A, T>
where <T as Inspect<A>>::AssetId: Freeze, <T as Inspect<A>>::Balance: Freeze,

ยง

impl<AccountId> Freeze for RawOrigin<AccountId>
where AccountId: Freeze,

ยง

impl<AccountId, U> Freeze for frame_support::traits::tokens::fungible::DecreaseIssuance<AccountId, U>

ยง

impl<AccountId, U> Freeze for frame_support::traits::tokens::fungible::IncreaseIssuance<AccountId, U>

ยง

impl<AccountId, U> Freeze for frame_support::traits::tokens::fungibles::DecreaseIssuance<AccountId, U>

ยง

impl<AccountId, U> Freeze for frame_support::traits::tokens::fungibles::IncreaseIssuance<AccountId, U>

ยง

impl<B, OnDrop, OppositeOnDrop> Freeze for frame_support::traits::tokens::fungible::Imbalance<B, OnDrop, OppositeOnDrop>
where B: Freeze,

ยง

impl<B, PositiveImbalance> Freeze for SignedImbalance<B, PositiveImbalance>
where PositiveImbalance: Freeze, <PositiveImbalance as Imbalance<B>>::Opposite: Freeze,

ยง

impl<Balance> Freeze for WithdrawConsequence<Balance>
where Balance: Freeze,

ยง

impl<Balance> Freeze for FeePolynomial<Balance>
where Balance: Freeze,

ยง

impl<Balance> Freeze for WeightToFeeCoefficient<Balance>
where Balance: Freeze,

ยง

impl<Balance, Imbalance, Target1, Target2, const PART1: u32, const PART2: u32> Freeze for SplitTwoWays<Balance, Imbalance, Target1, Target2, PART1, PART2>

ยง

impl<BlockNumber> Freeze for DispatchTime<BlockNumber>
where BlockNumber: Freeze,

ยง

impl<C, A> Freeze for ActiveIssuanceOf<C, A>

ยง

impl<C, A> Freeze for TotalIssuanceOf<C, A>

ยง

impl<CP> Freeze for FromContainsPair<CP>

ยง

impl<E> Freeze for MakeFatalError<E>
where E: Freeze,

ยง

impl<E, O, N, C> Freeze for TransformOrigin<E, O, N, C>

ยง

impl<EO> Freeze for AsEnsureOriginWithArg<EO>

ยง

impl<Error> Freeze for ResultQuery<Error>

ยง

impl<Exclude> Freeze for EverythingBut<Exclude>

ยง

impl<F> Freeze for FormatterFn<F>
where F: Freeze,

ยง

impl<F, A> Freeze for PayFromAccount<F, A>

ยง

impl<F, A, AccountId> Freeze for frame_support::traits::tokens::fungible::ItemOf<F, A, AccountId>

ยง

impl<F, A, AccountId> Freeze for frame_support::traits::tokens::nonfungible::ItemOf<F, A, AccountId>

ยง

impl<F, A, AccountId> Freeze for frame_support::traits::tokens::nonfungible_v2::ItemOf<F, A, AccountId>

ยง

impl<F, T> Freeze for ClearFilterGuard<F, T>
where <F as FilterStack<T>>::Stack: Freeze,

ยง

impl<F, T> Freeze for FilterStackGuard<F, T>

ยง

impl<Hasher, KeyType> Freeze for Key<Hasher, KeyType>

ยง

impl<K, T, H> Freeze for StorageKeyIterator<K, T, H>

ยง

impl<K, V, S> Freeze for BoundedBTreeMap<K, V, S>

ยง

impl<L, R> Freeze for EitherOf<L, R>

ยง

impl<L, R> Freeze for EitherOfDiverse<L, R>

ยง

impl<M> Freeze for KeyLenOf<M>

ยง

impl<O, A, Morph, Inner, Success> Freeze for TryWithMorphedArg<O, A, Morph, Inner, Success>

ยง

impl<OM> Freeze for AsContains<OM>

ยง

impl<Orig, Mutator> Freeze for TryMapSuccess<Orig, Mutator>

ยง

impl<Origin, PrivilegeCmp> Freeze for EnsureOriginEqualOrHigherPrivilege<Origin, PrivilegeCmp>

ยง

impl<Original, Mutator> Freeze for MapSuccess<Original, Mutator>

ยง

impl<OverweightAddr> Freeze for NoopServiceQueues<OverweightAddr>

ยง

impl<P, DbWeight> Freeze for RemovePallet<P, DbWeight>

ยง

impl<P, T> Freeze for ClassCountOf<P, T>

ยง

impl<Prefix, Hasher1, Key1, Hasher2, Key2, Value, QueryKind, OnEmpty, MaxValues> Freeze for StorageDoubleMap<Prefix, Hasher1, Key1, Hasher2, Key2, Value, QueryKind, OnEmpty, MaxValues>

ยง

impl<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues> Freeze for CountedStorageMap<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues>

ยง

impl<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues> Freeze for StorageMap<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues>

ยง

impl<Prefix, Key, Value, QueryKind, OnEmpty, MaxValues> Freeze for StorageNMap<Prefix, Key, Value, QueryKind, OnEmpty, MaxValues>

ยง

impl<Prefix, Value, QueryKind, OnEmpty> Freeze for StorageValue<Prefix, Value, QueryKind, OnEmpty>

ยง

impl<R> Freeze for TransactionOutcome<R>
where R: Freeze,

ยง

impl<S, K, T> Freeze for StorageMapShim<S, K, T>

ยง

impl<Success> Freeze for NeverEnsureOrigin<Success>

ยง

impl<T> Freeze for Bounded<T>

ยง

impl<T> Freeze for StorageIterator<T>

ยง

impl<T> Freeze for ChildTriePrefixIterator<T>

ยง

impl<T> Freeze for KeyPrefixIterator<T>

ยง

impl<T> Freeze for IsInVec<T>

ยง

impl<T> Freeze for WrapperKeepOpaque<T>

ยง

impl<T> Freeze for WrapperOpaque<T>
where T: Freeze,

ยง

impl<T> Freeze for IdentityFee<T>

ยง

impl<T> Freeze for IntoIter<T>
where T: Freeze,

ยง

impl<T> Freeze for PerDispatchClass<T>
where T: Freeze,

ยง

impl<T, A> Freeze for Vec<T, A>
where A: Freeze,

ยง

impl<T, E> Freeze for Result<T, E>
where T: Freeze, E: Freeze,

ยง

impl<T, Hash> Freeze for MaybeHashed<T, Hash>
where T: Freeze, Hash: Freeze,

ยง

impl<T, M> Freeze for ConstantMultiplier<T, M>

ยง

impl<T, OnRemoval> Freeze for PrefixIterator<T, OnRemoval>

ยง

impl<T, S> Freeze for BoundedBTreeSet<T, S>

ยง

impl<T, S> Freeze for BoundedVec<T, S>

ยง

impl<T, S> Freeze for WeakBoundedVec<T, S>

ยง

impl<Tally, Moment, Class> Freeze for PollStatus<Tally, Moment, Class>
where Tally: Freeze, Class: Freeze, Moment: Freeze,

ยง

impl<These, Except> Freeze for TheseExcept<These, Except>

ยง

impl<These, Those> Freeze for InsideBoth<These, Those>

ยง

impl<const T: bool> Freeze for ConstBool<T>

ยง

impl<const T: i8> Freeze for ConstI8<T>

ยง

impl<const T: i16> Freeze for ConstI16<T>

ยง

impl<const T: i32> Freeze for ConstI32<T>

ยง

impl<const T: i64> Freeze for ConstI64<T>

ยง

impl<const T: i128> Freeze for ConstI128<T>

ยง

impl<const T: u8> Freeze for ConstU8<T>

ยง

impl<const T: u16> Freeze for ConstU16<T>

ยง

impl<const T: u32> Freeze for ConstU32<T>

ยง

impl<const T: u64> Freeze for ConstU64<T>

ยง

impl<const T: u128> Freeze for ConstU128<T>