Enum Quirk Copy item path Source pub enum Quirk {
UnsignedKernel,
BiosOnly,
RequiresWholeDeviceWrite,
CrossDistroKexecRefused,
NotKexecBootable,
}Expand description Compatibility quirks the TUI should surface to the user before invoking
kexec. Populated by the per-distro matrix (issue #6).
ISO’s kernel is not signed by a CA in the platform/MOK keyring.
kexec_file_load will reject without MOK enrollment.
ISO assumes BIOS isolinux only — no usable EFI/kexec path.
ISO is hybrid and expects to be dd’d to a whole block device,
not loop-mounted. Kexec may succeed but the booted kernel may not
find its expected layout.
Distro signs only its own CA’s kernels and refuses kexec into
foreign-CA kernels even with KEXEC_SIG satisfied (RHEL family).
ISO uses a boot protocol incompatible with kexec_file_load
(Windows’ NT loader, BSD bootloaders, etc.). The TUI should
disable kexec for these entries rather than fail silently.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Deserialize this value from the given Serde deserializer.
Read more Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Serialize this value into the given Serde serializer.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.