pub trait CaptureDeps {
type OutputWriter: Write + Send + 'static;
// Required method
fn create_output_writer(
&self,
path: &Path,
) -> Result<Self::OutputWriter, Error>;
}Required Associated Types§
type OutputWriter: Write + Send + 'static
Required Methods§
fn create_output_writer(&self, path: &Path) -> Result<Self::OutputWriter, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".