pub trait Searchable {
// Required methods
fn get_uid(&self) -> String;
fn contains_tag(&mut self, tag: &String, logger: impl Logger) -> bool;
}Required Methods§
fn get_uid(&self) -> String
fn contains_tag(&mut self, tag: &String, logger: impl Logger) -> 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.