Expand description
String representations.
Structs§
- BStr
- Byte string without UTF-8 validity guarantee.
- CStr
- Representation of a borrowed C string.
- CString
- An owned string that is guaranteed to have exactly one NULbyte, which is at the end.
- Formatter
- Allows formatting of fmt::Argumentsinto a raw buffer.
- RawFormatter
- Allows formatting of fmt::Argumentsinto a raw buffer.
Traits§
Functions§
- as_char_ ptr_ in_ const_ context 
- Returns a C pointer to the string.
- kstrtobool
- Convert common user inputs into boolean values using the kernel’s kstrtoboolfunction.
- kstrtobool_bytes 
- Convert &[u8]toboolby deferring tokernel::str::kstrtobool.