Implement IntoBytes
for Option
types?
#596
Labels
blocked-on-rust
Blocked on a Rust feature landing or stabilizing
Similar to #293, we should ensure that it's guaranteed that
Option<P>
satisfiesIntoBytes
(whereP
is a pointer type which is subject to NPO), and emit anIntoBytes
impl.This is blocked on rust-lang/rust#117591, which guarantees that observing the bytes of a
None::<P>
is sound. It is also blocked on guaranteeing that observing the bytes of aSome::<P>
is sound, which is effectively ptr2int.The text was updated successfully, but these errors were encountered: