pub struct Config {Show 19 fields
pub repo_url: String,
pub distro_type: DistroType,
pub cas_dir: PathBuf,
pub db_path: PathBuf,
pub deployments_dir: PathBuf,
pub current_link: PathBuf,
pub boot_dir: PathBuf,
pub bootloader: BootloaderType,
pub filesystem: FilesystemType,
pub health_check_script: Option<PathBuf>,
pub overlay_dirs: Vec<PathBuf>,
pub var_volume: Option<PathBuf>,
pub gpg_keyring: PathBuf,
pub use_fsverity: bool,
pub use_ima: bool,
pub partitioning: PartitioningType,
pub sysext_dir: PathBuf,
pub zstd_dicts: HashMap<String, Vec<u8>>,
pub tpm_tcti: String,
}Expand description
Configuration for the library.
Fields§
§repo_url: String§distro_type: DistroType§cas_dir: PathBuf§db_path: PathBuf§deployments_dir: PathBuf§current_link: PathBuf§boot_dir: PathBuf§bootloader: BootloaderType§filesystem: FilesystemType§health_check_script: Option<PathBuf>§overlay_dirs: Vec<PathBuf>§var_volume: Option<PathBuf>§gpg_keyring: PathBuf§use_fsverity: bool§use_ima: bool§partitioning: PartitioningType§sysext_dir: PathBuf§zstd_dicts: HashMap<String, Vec<u8>>§tpm_tcti: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 more