Trait naia_shared::ProtocolKindType
source · [−]pub trait ProtocolKindType: Eq + Hash + Copy + Send + Sync {
fn to_u16(&self) -> u16;
fn from_u16(val: u16) -> Self;
fn to_type_id(&self) -> TypeId;
}pub trait ProtocolKindType: Eq + Hash + Copy + Send + Sync {
fn to_u16(&self) -> u16;
fn from_u16(val: u16) -> Self;
fn to_type_id(&self) -> TypeId;
}