e.g.
We only support these integer bounds when they map to existing rust primitives e.g. uint .le 255 turns to u8, etc.
Questions:
- Do we want to simply enforce the bound on deserializtion?
- Do we want to restrict access and only have throwing setters to check ranges?
- Do we want to use
u64/i64 or make it fit in the smallest possible e.g. foo above would be u8.
e.g.
We only support these integer bounds when they map to existing rust primitives e.g.
uint .le 255turns tou8, etc.Questions:
u64/i64or make it fit in the smallest possible e.g.fooabove would beu8.