sp_runtime

Trait TypeId

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

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§