pub trait PackageParser {
const PACKAGE_TYPE: &'static str;
// Required methods
fn extract_package_data(path: &Path) -> PackageData;
fn is_match(path: &Path) -> bool;
}
Required Associated Constants§
const PACKAGE_TYPE: &'static str
Required Methods§
fn extract_package_data(path: &Path) -> PackageData
fn is_match(path: &Path) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.