Trait zenoh_plugin_trait::StructVersion
source · pub trait StructVersion {
// Required methods
fn struct_version() -> u64;
fn struct_features() -> &'static str;
}Required Methods§
sourcefn struct_version() -> u64
fn struct_version() -> u64
The version of the structure which implements this trait. After any change in the structure or its dependencies which may affect the ABI, this version should be incremented.
sourcefn struct_features() -> &'static str
fn struct_features() -> &'static str
The features enabled during compilation of the structure implementing this trait.
Different features between the plugin and the host may cause ABI incompatibility even if the structure version is the same.
Use concat_enabled_features! to generate this string
Object Safety§
This trait is not object safe.