pub trait StableId {
const TYPE_ID: StableTypeId;
}Expand description
A trait for types that have a stable unique iidentifier.
§Implementation
Do not implement this trait yourself! Instead, use
#[derive(StableId)].
Required Associated Constants§
const TYPE_ID: StableTypeId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Implementors§
Source§impl StableId for CronSignal
Available on crate feature identifier only.
impl StableId for CronSignal
Available on crate feature
identifier only.const TYPE_ID: StableTypeId
Source§impl StableId for Signal
Available on crate feature identifier only.
impl StableId for Signal
Available on crate feature
identifier only.const TYPE_ID: StableTypeId
Source§impl<A> StableId for SupervisionEvent<A>
Available on crate feature identifier only.
impl<A> StableId for SupervisionEvent<A>
Available on crate feature
identifier only.const TYPE_ID: StableTypeId
Source§impl<A> StableId for Supervisor<A>
Available on crate feature identifier only.
impl<A> StableId for Supervisor<A>
Available on crate feature
identifier only.