pub struct KexecRequest {
pub kernel: PathBuf,
pub initrd: Option<PathBuf>,
pub cmdline: String,
}Expand description
Parameters for a kexec_file_load invocation.
Fields§
§kernel: PathBufPath to the target kernel image. Must be signed by a key in the platform or MOK keyring when Secure Boot is enforced.
initrd: Option<PathBuf>Optional initrd path.
cmdline: StringKernel command line.
Trait Implementations§
Source§impl Clone for KexecRequest
impl Clone for KexecRequest
Source§fn clone(&self) -> KexecRequest
fn clone(&self) -> KexecRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KexecRequest
impl RefUnwindSafe for KexecRequest
impl Send for KexecRequest
impl Sync for KexecRequest
impl Unpin for KexecRequest
impl UnsafeUnpin for KexecRequest
impl UnwindSafe for KexecRequest
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