diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2017-12-11 16:38:49 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2017-12-11 16:38:49 +0000 |
commit | 291d618322a360e2b3ac99ca7c1fde19ba6b4b2c (patch) | |
tree | bde0850d79922887cbf845c7a67d38510cf88af0 /src/errno.rs | |
parent | b957a7a801635cbf5b7b4f8bae67108a7117e0fd (diff) | |
parent | 111950df8f21023e80249bb67c0f9cb8d0b2342f (diff) | |
download | nix-291d618322a360e2b3ac99ca7c1fde19ba6b4b2c.zip |
Merge #814
814: Misc cleanup r=Susurrus a=Susurrus
Add more traits to the various datatypes in `nix`. Also try to utilize more `libc` types where appropriate.
This is still WIP because:
* Looking for feedback on ba2d85bc. Does it make sense for bitflags structs to have `Ord` & `PartialOrd` derived for them?
* Need to implement a newtype wrapper around `libc::linger` with both a `new()` constructor and getters. Additionally this needs manual implementations of `Eq`, `PartialEq`, `Debug` (I've been skipping manually implementing `Hash` for now.
* In 2b3fb11a46 I need to implement newtype wrappers around `ip_mreq` and `ipv6_mreq` that have `new()` constructors and field getters. Additionally they need manual implementations of `Eq`, `PartialEq`, `Debug` (I've been skipping manually implementing `Hash` for now. This commit also needs a CHANGELOG entry.
* ed79cfbc needs a CHANGELOG entry because its variants names have changed with the switch to using `libc_bitflags!`.
Diffstat (limited to 'src/errno.rs')
0 files changed, 0 insertions, 0 deletions