pub type Output = Arc<Mutex<Box<dyn Write + Send>>>;
Onde a ponte escreve (o stdout; nos testes, um buffer).
pub struct Output { /* private fields */ }