referrerpolicy=no-referrer-when-downgrade
sp_runtime

Trait TypeId

pub trait TypeId {
    const TYPE_ID: [u8; 4];
}
Expand description

Re-export this since it’s part of the API of this crate. Provide a simple 4 byte identifier for a type.

Required Associated Constants§

const TYPE_ID: [u8; 4]

Simple 4 byte identifier.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

impl TypeId for HashedLaneId

impl TypeId for LegacyLaneId

impl<LaneId: Decode + Encode> TypeId for RewardsAccountParams<LaneId>

impl TypeId for PalletId

impl<LaneId> TypeId for RewardsAccountParams<LaneId>

impl TypeId for Id

impl TypeId for Sibling