MaxSpawnValidator¶
Validates that a max spawn value is at least 1.
A limit of 0 is nonsensical — it would prevent any connections from being
accepted. Used by MakeMaxSpawn to construct MaxSpawn values.
Implements¶
Constructors¶
create¶
Returns¶
- MaxSpawnValidator val^
Public Functions¶
apply¶
Parameters¶
- value: U32 val
Returns¶
- (ValidationSuccess val | ValidationFailure val)
eq¶
Parameters¶
- that: MaxSpawnValidator val
Returns¶
- Bool val
ne¶
Parameters¶
- that: MaxSpawnValidator val
Returns¶
- Bool val