Trait tiny_std::ToUnixString
source · pub trait ToUnixString {
// Required method
fn to_unix_string(&self) -> Result<UnixString, Error>;
}
Required Methods§
sourcefn to_unix_string(&self) -> Result<UnixString, Error>
fn to_unix_string(&self) -> Result<UnixString, Error>
Turn this into a UnixString
Errors
If this string can’t be converted this will throw an error The only real reasons are if you have multiple null bytes or no access to an allocator