pub struct BinaryQuery<'a> {
pub bin: &'a str,
pub app_root: &'a Path,
pub workspace_roots: Vec<PathBuf>,
pub broker_root: Option<PathBuf>,
pub extra_env: Option<&'a str>,
pub pointer_file: Option<&'a str>,
pub app_relative: Option<&'a str>,
pub env: &'a dyn Fn(&str) -> Option<String>,
}Expand description
Inputs to resolve. env is injectable so tests never read the process environment.
Fields§
§bin: &'a strCargo target name (executable stem), e.g. mailright.
app_root: &'a Path§workspace_roots: Vec<PathBuf>Cargo workspace roots to match against the broker’s canonicalRoot, first match wins per entry.
broker_root: Option<PathBuf><managed root>/rightkit-build-control; None skips the broker step.
extra_env: Option<&'a str>The app-specific env var name (ui.binary_env).
pointer_file: Option<&'a str>Pointer file path, relative to the app root unless absolute.
app_relative: Option<&'a str>The configured ui.binaries path for this platform, relative to the app root.
env: &'a dyn Fn(&str) -> Option<String>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BinaryQuery<'a>
impl<'a> !Send for BinaryQuery<'a>
impl<'a> !Sync for BinaryQuery<'a>
impl<'a> !UnwindSafe for BinaryQuery<'a>
impl<'a> Freeze for BinaryQuery<'a>
impl<'a> Unpin for BinaryQuery<'a>
impl<'a> UnsafeUnpin for BinaryQuery<'a>
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