pub(crate) trait NodeStateDataSource {
// Required method
fn node_state(&self) -> impl Send + Future<Output = NodeState>;
}
Required Methods§
fn node_state(&self) -> impl Send + Future<Output = NodeState>
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.