pub trait Versioned {
// Required methods
fn version(&self) -> &str;
fn is_compatible_with(&self, other_version: &str) -> bool;
}Expand description
Versioned trait for objects with version information
Required Methods§
Sourcefn is_compatible_with(&self, other_version: &str) -> bool
fn is_compatible_with(&self, other_version: &str) -> bool
Check compatibility with another version