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 x86-64 or AArch64 or RISC-V RV64 only.
impl From<KexecFileLoadArgs> for SyscallArgs
Available on x86-64 or AArch64 or RISC-V RV64 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
Source§fn eq(&self, other: &KexecFileLoadArgs) -> bool
fn eq(&self, other: &KexecFileLoadArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SyscallGroupsGetter for KexecFileLoadArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl SyscallGroupsGetter for KexecFileLoadArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for KexecFileLoadArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
impl SyscallNumber for KexecFileLoadArgs
Available on x86-64 or AArch64 or RISC-V RV64 only.
fn syscall_number(&self) -> isize
impl StructuralPartialEq for KexecFileLoadArgs
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