Skip to main content

StableId

Trait StableId 

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> StableId for Arc<T>
where T: StableId + ?Sized,

Source§

impl<T> StableId for Box<T>
where T: StableId + ?Sized,

Implementors§

Source§

impl StableId for CronSignal

Available on crate feature identifier only.
Source§

impl StableId for Signal

Available on crate feature identifier only.
Source§

impl<A> StableId for SupervisionEvent<A>
where A: Actor + StableId,

Available on crate feature identifier only.
Source§

impl<A> StableId for Supervisor<A>
where A: Actor + StableId,

Available on crate feature identifier only.
Source§

impl<M> StableId for Observer<M>
where M: Message + StableId,

Available on crate feature identifier only.