pub type JoinTypePrimitive = u8;
The JoinType and SideType are to mimic a enum, because currently enum is not supported in const generic.
JoinType
SideType