pub struct CheckOptions {
pub cwd: Option<PathBuf>,
pub root: Option<PathBuf>,
pub environment: EnvironmentInput,
pub config: Option<PathBuf>,
pub no_init_script: bool,
pub strict: bool,
}Expand description
Options for checking treeboot bootstrap behavior.
Fields§
§cwd: Option<PathBuf>Directory from which the check starts. Defaults to the process cwd.
root: Option<PathBuf>Overrides the root checkout used as the file-operation source.
environment: EnvironmentInputExplicit environment input used for compatibility discovery and options.
config: Option<PathBuf>Uses one specific config file and skips init script discovery.
no_init_script: boolSkips init script discovery and uses declarative config discovery.
strict: boolFails on missing config and stricter file-operation conflicts.
Trait Implementations§
Source§impl Clone for CheckOptions
impl Clone for CheckOptions
Source§fn clone(&self) -> CheckOptions
fn clone(&self) -> CheckOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckOptions
impl Debug for CheckOptions
Source§impl Default for CheckOptions
impl Default for CheckOptions
Source§fn default() -> CheckOptions
fn default() -> CheckOptions
Returns the “default value” for a type. Read more
impl Eq for CheckOptions
Source§impl PartialEq for CheckOptions
impl PartialEq for CheckOptions
Source§fn eq(&self, other: &CheckOptions) -> bool
fn eq(&self, other: &CheckOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckOptions
Auto Trait Implementations§
impl Freeze for CheckOptions
impl RefUnwindSafe for CheckOptions
impl Send for CheckOptions
impl Sync for CheckOptions
impl Unpin for CheckOptions
impl UnsafeUnpin for CheckOptions
impl UnwindSafe for CheckOptions
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