# Implement \`std::os::fd::AsRawFd\` for references

**URL:** <https://internals.rust-lang.org/t/implement-std-asrawfd-for-references/20132>\
**Category:** libs\
**Created:** [January 3, 2024, 7:25pm UTC](https://internals.rust-lang.org/t/implement-std-asrawfd-for-references/20132 "2024-01-03T19:25:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cuviper](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/cuviper/32/1897_2.png) [@cuviper](https://internals.rust-lang.org/u/cuviper)\
**Post date:** [January 3, 2024, 8:46pm UTC](https://internals.rust-lang.org/t/implement-std-asrawfd-for-references/20132/5 "2024-01-03T20:46:11Z")

</div>

> [@josh](#):
>
> We could certainly add the same impls for `AsRawFd`,

I don't think we can -- it's a breaking change to add new blanket impls on a fundamental type.

---

_[View the full topic](https://internals.rust-lang.org/t/implement-std-asrawfd-for-references/20132)._
