pub trait EdgeTargetGraph: TopologyBase {
// Required method
fn target(&self, edge: Self::RelationId) -> Self::ElementId;
}Expand description
Capability for resolving directed edge targets.
The endpoint capability needed by outgoing traversal: an outgoing edge ID can be mapped to the node it reaches without requiring the backend to support reverse source lookup.
Required Methods§
Sourcefn target(&self, edge: Self::RelationId) -> Self::ElementId
fn target(&self, edge: Self::RelationId) -> Self::ElementId
Returns the target node of edge. edge must be a valid edge ID.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".