Trait HoprGraphReadApi
pub trait HoprGraphReadApi: NetworkGraphView<NodeId = Self::HoprNodeId> + NetworkGraphTraverse<NodeId = Self::HoprNodeId> {
type HoprNodeId: Send;
}Expand description
Read-only graph API for external consumers.
This trait is automatically implemented for types
that implement both NetworkGraphView and NetworkGraphTraverse
with the same node id.
Required Associated Types§
type HoprNodeId: Send
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.