pub struct KBConfig {
pub kernel_file_path: PathBuf,
pub initramfs_file_path: Option<PathBuf>,
pub kernel_config_file_path: PathBuf,
pub kernel_src: PathBuf,
pub keep_last_kernel: bool,
pub last_kernel_suffix: Option<String>,
}
Fields§
§kernel_file_path: PathBuf
Path to the kernel bz image on the boot partition
initramfs_file_path: Option<PathBuf>
Path to the initramfs on the boot partition
kernel_config_file_path: PathBuf
path to the .config
file that will be symlinked
kernel_src: PathBuf
path to the kernel sources
keep_last_kernel: bool
§last_kernel_suffix: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KBConfig
impl<'de> Deserialize<'de> for KBConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KBConfig
impl RefUnwindSafe for KBConfig
impl Send for KBConfig
impl Sync for KBConfig
impl Unpin for KBConfig
impl UnwindSafe for KBConfig
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