pub enum CommandLineType<'a> {
Static(&'a str),
HostAppendable(&'a str),
}
Expand description
Kernel Command line type.
Variants§
Static(&'a str)
The command line is a static string.
HostAppendable(&'a str)
The command line is dynamic and host appendable via the chosen node in device tree, with initial data specified by the provided CStr. An empty base_string may be provided to allow the host to specify the full kernel command line.
Auto Trait Implementations§
impl<'a> Freeze for CommandLineType<'a>
impl<'a> RefUnwindSafe for CommandLineType<'a>
impl<'a> Send for CommandLineType<'a>
impl<'a> Sync for CommandLineType<'a>
impl<'a> Unpin for CommandLineType<'a>
impl<'a> UnwindSafe for CommandLineType<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more