Returns an iterator over all parameters in the command line which are valid UTF-8.
(&'a self)
| 139 | /// Returns an iterator over all parameters in the command line |
| 140 | /// which are valid UTF-8. |
| 141 | pub fn iter_utf8(&'a self) -> impl Iterator<Item = utf8::Parameter<'a>> { |
| 142 | self.iter() |
| 143 | .filter_map(|p| utf8::Parameter::try_from(p).ok()) |
| 144 | } |
| 145 | |
| 146 | /// Locate a kernel argument with the given key name. |
| 147 | /// |