Trait Identifiable
basws_server
pub trait Identifiable { type Id: Copy + Hash + Eq + Send + Sync; fn id(&self) -> Self::Id; }
type Id: Copy + Hash + Eq + Send + Sync
fn id(&self) -> Self::Id