The WTF-8 version of `OsString` tracks whether it is known to be valid UTF-8 with its `is_known_utf8` field. Specialize `From<AsRef<OsStr>>` so this can be set for UTF-8 string types. |
||
|---|---|---|
| .. | ||
| os_str | ||
| c_str.rs | ||
| mod.rs | ||
| os_str.rs | ||
The WTF-8 version of `OsString` tracks whether it is known to be valid UTF-8 with its `is_known_utf8` field. Specialize `From<AsRef<OsStr>>` so this can be set for UTF-8 string types. |
||
|---|---|---|
| .. | ||
| os_str | ||
| c_str.rs | ||
| mod.rs | ||
| os_str.rs | ||