referrerpolicy=no-referrer-when-downgrade
sp_core

Trait TypeId

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

Provide a simple 4 byte identifier for a type.

Required Associated Constants§

Source

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