pub(crate) trait SandboxOutputs {
// Required method
fn find_path(
&self,
path: impl AsRef<Path> + Send,
) -> impl Future<Output = Option<PathBuf>> + Send;
}Expand description
A handle returned by sandboxes that allows finding build outputs relative to logical sandbox root.
Since different build sandboxes have their own internal directory layout, this trait encapsulates those implementation details and allows callers to query paths in a consistent way.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl SandboxOutputs for BwrapOutputs
Available on Linux only.
impl SandboxOutputs for OciOutputs
Available on Linux only.