pub trait Guest {
// Required method
fn format(source: Vec<u8>, opts: FormatOpts) -> Result<Vec<u8>, FormatError>;
}Required Methods§
fn format(source: Vec<u8>, opts: FormatOpts) -> Result<Vec<u8>, FormatError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".