Struct ostree::KernelArgs [−][src]
pub struct KernelArgs(_);
Expand description
Kernel arguments.
Implementations
Add multiple kernel arguments.
Appends each argument that does not have one of prefixes
.
pub fn append_proc_cmdline<P: IsA<Cancellable>>(
&mut self,
cancellable: Option<&P>
) -> Result<(), Error>
pub fn append_proc_cmdline<P: IsA<Cancellable>>(
&mut self,
cancellable: Option<&P>
) -> Result<(), Error>
Append the entire contents of the currently booted kernel commandline.
Given foo
, return the last the value of a foo=bar
key as bar
.
Replace any existing foo=bar
with foo=other
e.g.
Append from a whitespace-separated string.
Replace multiple kernel arguments.
A duplicate of replace
.
Parse the given string as kernel arguments.
Create new empty kernel arguments.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for KernelArgs
impl !Send for KernelArgs
impl !Sync for KernelArgs
impl Unpin for KernelArgs
impl UnwindSafe for KernelArgs
Blanket Implementations
Mutably borrows from an owned value. Read more