Trait NodeStateDataSource

Source
pub(crate) trait NodeStateDataSource {
    // Required method
    fn node_state(&self) -> impl Send + Future<Output = NodeState>;
}

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl<N, P, D, V> NodeStateDataSource for ExtensibleDataSource<D, ApiState<N, P, V>>

Source§

async fn node_state(&self) -> NodeState

Implementors§