pub trait SeqSource {
// Required method
fn read(
&self,
parent: &Path,
rel: &str,
) -> Result<(PathBuf, String), String>;
// Provided method
fn root(&self, file: &str) -> PathBuf { ... }
}Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".