Implemented `FromStr` for `CString` and `TryFrom<CString>` for `String` The motivation of this change is making it possible to use `CString` in generic methods with `FromStr` and `TryInto<String>` trait bounds. The same traits are already implemented for `OsString` which is an FFI type too. |
||
|---|---|---|
| .. | ||
| c_str | ||
| c_str.rs | ||
| mod.rs | ||