pub struct KexecFileLoadRawArgs {
pub kernel_fd: RawFd,
pub initrd_fd: RawFd,
pub cmdline_len: c_ulong,
pub cmdline: *const c_char,
pub flags: c_ulong,
}Fields§
§kernel_fd: RawFd§initrd_fd: RawFd§cmdline_len: c_ulong§cmdline: *const c_char§flags: c_ulongTrait Implementations§
Source§impl Clone for KexecFileLoadRawArgs
impl Clone for KexecFileLoadRawArgs
Source§fn clone(&self) -> KexecFileLoadRawArgs
fn clone(&self) -> KexecFileLoadRawArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KexecFileLoadRawArgs
impl Debug for KexecFileLoadRawArgs
Source§impl PartialEq for KexecFileLoadRawArgs
impl PartialEq for KexecFileLoadRawArgs
Source§fn eq(&self, other: &KexecFileLoadRawArgs) -> bool
fn eq(&self, other: &KexecFileLoadRawArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SyscallGroupsGetter for KexecFileLoadRawArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl SyscallGroupsGetter for KexecFileLoadRawArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for KexecFileLoadRawArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl SyscallNumber for KexecFileLoadRawArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
fn syscall_number(&self) -> isize
Source§impl SyscallStopInspect for KexecFileLoadRawArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl SyscallStopInspect for KexecFileLoadRawArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
type Args = KexecFileLoadArgs
type Result = KexecFileLoadModifiedArgs
fn inspect_sysenter(self, inspectee_pid: Pid) -> Self::Args
fn inspect_sysexit( self, inspectee_pid: Pid, regs: &user_regs_struct, ) -> Self::Result
impl Copy for KexecFileLoadRawArgs
impl StructuralPartialEq for KexecFileLoadRawArgs
Auto Trait Implementations§
impl Freeze for KexecFileLoadRawArgs
impl RefUnwindSafe for KexecFileLoadRawArgs
impl !Send for KexecFileLoadRawArgs
impl !Sync for KexecFileLoadRawArgs
impl Unpin for KexecFileLoadRawArgs
impl UnsafeUnpin for KexecFileLoadRawArgs
impl UnwindSafe for KexecFileLoadRawArgs
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