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 · 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
impl From<KexecFileLoadArgs> for SyscallArgs
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§impl SyscallGroupsGetter for KexecFileLoadArgs
impl SyscallGroupsGetter for KexecFileLoadArgs
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for KexecFileLoadArgs
impl SyscallNumber for KexecFileLoadArgs
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 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