pub fn from_str_truncate<const N: usize>(s: &str) -> String<N>
Create a heapless string from a string slice, truncating if necessary