Define a `NotHandle` type, that implements `std::error::Error`, and use it as the error type in `HandleOrNull` and `HandleOrInvalid`. |
||
|---|---|---|
| .. | ||
| io | ||
| ffi.rs | ||
| fs.rs | ||
| mod.rs | ||
| process.rs | ||
| raw.rs | ||
| thread.rs | ||
Define a `NotHandle` type, that implements `std::error::Error`, and use it as the error type in `HandleOrNull` and `HandleOrInvalid`. |
||
|---|---|---|
| .. | ||
| io | ||
| ffi.rs | ||
| fs.rs | ||
| mod.rs | ||
| process.rs | ||
| raw.rs | ||
| thread.rs | ||