Should conversions to StatusCode be implemented on more num types?
Open
Nobody has claimed this yet.
A-status
B-rfc
S-feature
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 378
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 5
Description
Currently, it is only u16. For convenience, it would be nice to implement conversions for other num types: usize, u32, u64.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names StatusCode and the existing u16 conversion but no file or test. Locate that implementation and its tests, then verify conversions for usize, u32, and u64 with the relevant test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100