MCPcopy Create free account
hub / github.com/bootc-dev/bootc / iter_str

Method iter_str

crates/kernel_cmdline/src/utf8.rs:114–116  ·  view source on GitHub ↗

Returns an iterator over all parameters in the command line as string slices. This is similar to `iter()` but yields `&str` directly instead of `Parameter`, which can be more convenient when you just need the string representation.

(&self)

Source from the content-addressed store, hash-verified

112 /// This is similar to `iter()` but yields `&str` directly instead of `Parameter`,
113 /// which can be more convenient when you just need the string representation.
114 pub fn iter_str(&self) -> CmdlineIterStr<'_> {
115 CmdlineIterStr(self.0.iter_bytes())
116 }
117
118 /// Locate a kernel argument with the given key name.
119 ///

Callers 6

assert_cmdline_eqFunction · 0.80
install_containerFunction · 0.80
container_inspectFunction · 0.80
deployFunction · 0.80
reconcile_kargsFunction · 0.80

Calls 2

CmdlineIterStrClass · 0.85
iter_bytesMethod · 0.80

Tested by

no test coverage detected