pub struct KexecFileLoadArgs {
pub kernel_fd: RawFd,
pub initrd_fd: RawFd,
pub cmdline_len: c_ulong,
pub cmdline: InspectResult<CString>,
pub flags: c_ulong,
}Fields§
§kernel_fd: RawFd§initrd_fd: RawFd§cmdline_len: c_ulong§cmdline: InspectResult<CString>§flags: c_ulongTrait Implementations§
Source§impl Clone for KexecFileLoadArgs
impl Clone for KexecFileLoadArgs
Source§fn clone(&self) -> KexecFileLoadArgs
fn clone(&self) -> KexecFileLoadArgs
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 KexecFileLoadArgs
impl Debug for KexecFileLoadArgs
Source§impl From<KexecFileLoadArgs> for SyscallArgs
Available on AArch64 or RISC-V RV64 or x86-64 only.
impl From<KexecFileLoadArgs> for SyscallArgs
Available on AArch64 or RISC-V RV64 or x86-64 only.
Source§fn from(args: KexecFileLoadArgs) -> Self
fn from(args: KexecFileLoadArgs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KexecFileLoadArgs
impl PartialEq for KexecFileLoadArgs
impl StructuralPartialEq for KexecFileLoadArgs
Source§impl SyscallGroupsGetter for KexecFileLoadArgs
Available on AArch64 or RISC-V RV64 or x86-64 only.
impl SyscallGroupsGetter for KexecFileLoadArgs
Available on AArch64 or RISC-V RV64 or x86-64 only.
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for KexecFileLoadArgs
Available on AArch64 or RISC-V RV64 or x86-64 only.
impl SyscallNumber for KexecFileLoadArgs
Available on AArch64 or RISC-V RV64 or x86-64 only.
fn syscall_number(&self) -> isize
Auto Trait Implementations§
impl Freeze for KexecFileLoadArgs
impl RefUnwindSafe for KexecFileLoadArgs
impl Send for KexecFileLoadArgs
impl Sync for KexecFileLoadArgs
impl Unpin for KexecFileLoadArgs
impl UnsafeUnpin for KexecFileLoadArgs
impl UnwindSafe for KexecFileLoadArgs
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