pub trait TripleStoreIntoIter<Id: IdType, NodeProps: Property, EdgeProps: Property>: TripleStoreError {
// Required methods
fn into_iter_nodes(
self,
order: EdgeOrder,
) -> (impl Iterator<Item = Result<(Id, NodeProps), Self::Error>>, impl Iterator<Item = Result<(Triple<Id>, EdgeProps), Self::Error>>);
fn into_iter_vertices(
self,
) -> impl Iterator<Item = Result<(Id, NodeProps), Self::Error>>;
fn into_iter_edges_with_props(
self,
order: EdgeOrder,
) -> impl Iterator<Item = Result<PropsTriple<Id, NodeProps, EdgeProps>, Self::Error>>;
fn into_iter_edges(
self,
order: EdgeOrder,
) -> impl Iterator<Item = Result<(Triple<Id>, EdgeProps), Self::Error>>;
}Required Methods§
fn into_iter_nodes( self, order: EdgeOrder, ) -> (impl Iterator<Item = Result<(Id, NodeProps), Self::Error>>, impl Iterator<Item = Result<(Triple<Id>, EdgeProps), Self::Error>>)
Sourcefn into_iter_vertices(
self,
) -> impl Iterator<Item = Result<(Id, NodeProps), Self::Error>>
fn into_iter_vertices( self, ) -> impl Iterator<Item = Result<(Id, NodeProps), Self::Error>>
Iterate over vertices in the triplestore.
Sourcefn into_iter_edges_with_props(
self,
order: EdgeOrder,
) -> impl Iterator<Item = Result<PropsTriple<Id, NodeProps, EdgeProps>, Self::Error>>
fn into_iter_edges_with_props( self, order: EdgeOrder, ) -> impl Iterator<Item = Result<PropsTriple<Id, NodeProps, EdgeProps>, Self::Error>>
Iterate over the edges in the triplestore, fetching node properties for each subject and object.
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.