pub trait FilePrinter {
type Options;
type Error;
// Required method
fn print(
&self,
path: &Path,
options: Self::Options,
) -> Result<(), Self::Error>;
}Expand description
A trait representing a printer that can print files.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".