pub trait UniqueIdentifier: Send + Sync {
    type DataType: Send + Sync;

    const PORT: u16 = 50_000u16;
}
Expand description

Defines the data type associated with unique identifier data type

Required Associated Types§

Provided Associated Constants§

source

const PORT: u16 = 50_000u16

Object Safety§

This trait is not object safe.

Implementors§

source§

impl UniqueIdentifier for Tick

§

type DataType = ()

source§

impl<U, W> UniqueIdentifier for W
where U: UniqueIdentifier, W: UnitsConversion<ID = U> + Send + Sync,

Blanket implementation of UniqueIdentifier for types that implement UnitsConversion

source§

const PORT: u16 = <U as UniqueIdentifier>::PORT

§

type DataType = <U as UniqueIdentifier>::DataType

source§

impl<U: UniqueIdentifier, const IDX: usize> UniqueIdentifier for Select<U, IDX>