pub struct KernelParamsChangeset {
pub boot_params: Vec<BootParameters>,
pub xnames_to_reboot: Vec<String>,
pub has_changes: bool,
pub sbps_candidates: Vec<(String, Image)>,
}Expand description
Result of preparing kernel parameter mutations (before persistence).
Fields§
§boot_params: Vec<BootParameters>The mutated boot parameters ready to persist.
xnames_to_reboot: Vec<String>Nodes that need rebooting.
has_changes: boolWhether any changes were detected.
sbps_candidates: Vec<(String, Image)>SBPS images that need iSCSI projection (image_id -> Image). The CLI layer should confirm with the user before persisting these.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KernelParamsChangeset
impl RefUnwindSafe for KernelParamsChangeset
impl Send for KernelParamsChangeset
impl Sync for KernelParamsChangeset
impl Unpin for KernelParamsChangeset
impl UnwindSafe for KernelParamsChangeset
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.