google / google/zerocopy

Implement `NoCell`, `IntoBytes` and possibly other traits for `std::convert::Infallible`

Open
#1,528 1 comment 0 reactions 0 assignees View on GitHub
customer-request
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

**What is the name of your project?**
Fuchsia netstack3

**Please provide a link to your project (GitHub repository, crates.io page, etc).**
https://cs.opensource.google/fuchsia/fuchsia/+/main:src/connectivity/

**What features would you like from zerocopy?**
It might be useful to implement `NoCell`, `IntoBytes` and possibly other traits for `std::convert::Infallible` so that it can be used e.g. in associated types. This would improve how specific invariants are enforced and would allow use `Infallible` instead of `()` or a custom defined type with the same behavior of `Infallible`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.