Skip to main content

SelfTestFn

Type Alias SelfTestFn 

Source
pub type SelfTestFn = Arc<dyn Fn(&Path) -> Result<String> + Send + Sync + 'static>;
Expand description

Self-test function — runs the staged binary with --version and returns its captured stdout. Lets tests avoid spawning a real child.

Aliased Type§

pub struct SelfTestFn { /* private fields */ }