Joshua Nelson
ed1e3512dc
impl<T: AsRawFd> for {Arc,Box}<T>
...
This allows implementing traits that require a raw FD on Arc and Box.
Previously, you'd have to add the function to the trait itself:
```rust
trait MyTrait {
fn as_raw_fd(&self) -> RawFd;
}
impl<T: MyTrait> MyTrait for Arc<T> {
fn as_raw_fd(&self) -> RawFd {
(**self).as_raw_fd()
}
}
```
2022-06-21 23:03:55 -05:00
..
2022-03-10 10:23:40 -05:00
2022-06-15 01:41:56 -05:00
2022-03-10 10:23:40 -05:00
2021-11-20 10:14:03 +01:00
2021-10-25 22:44:41 -05:00
2022-06-16 07:24:38 +09:00
2022-04-07 08:51:59 +01:00
2022-06-10 17:22:31 +09:00
2022-05-24 01:05:06 +02:00
2022-06-21 23:03:55 -05:00
2022-05-16 08:55:05 +02:00
2022-05-27 07:36:17 -04:00
2022-03-23 05:33:44 +00:00
2022-06-07 15:15:19 +02:00
2022-06-17 02:32:14 +00:00
2022-06-13 20:44:56 -07:00
2022-06-15 11:54:59 +02:00
2022-03-10 10:23:40 -05:00
2022-06-07 15:06:18 +02:00
2022-04-14 01:33:13 -04:00
2022-03-29 20:18:27 -04:00
2022-05-24 19:41:40 -07:00
2022-05-29 13:14:59 +04:00
2022-05-09 18:45:35 +02:00
2022-05-09 18:45:35 +02:00
2022-06-01 20:32:33 -04:00
2022-06-17 07:16:58 +09:00
2021-10-10 02:44:26 -04:00
2022-06-10 11:50:39 +00:00
2022-05-22 16:11:08 -07:00
2022-02-02 13:46:42 -05:00
2022-05-23 13:04:59 +00:00
2022-05-08 22:15:26 +08:00
2022-06-14 12:21:38 -07:00
2022-06-12 12:14:27 +02:00
2022-01-28 12:53:36 -08:00
2022-05-23 00:02:09 +02:00