pub trait Notify:
DeserializeOwned
+ Serialize
+ Sync
+ Send
+ Clone
+ Debug {
// Required method
fn get_difficulty(&self) -> f64;
}Required Methods§
fn get_difficulty(&self) -> f64
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.