pub struct NonDeterministic<T> { /* private fields */ }
Expand description
A graph traversal that does not guarantee any particular order, and may not return the same order every time it is run.
Implementations§
Source§impl<T> NonDeterministic<T>
impl<T> NonDeterministic<T>
Trait Implementations§
Source§impl<T> Default for NonDeterministic<T>
impl<T> Default for NonDeterministic<T>
Source§impl<T> GraphStore for NonDeterministic<T>where
T: Send,
impl<T> GraphStore for NonDeterministic<T>where
T: Send,
Source§impl<T> IntoIterator for NonDeterministic<T>
impl<T> IntoIterator for NonDeterministic<T>
Auto Trait Implementations§
impl<T> Freeze for NonDeterministic<T>
impl<T> RefUnwindSafe for NonDeterministic<T>where
T: RefUnwindSafe,
impl<T> Send for NonDeterministic<T>where
T: Send,
impl<T> Sync for NonDeterministic<T>where
T: Sync,
impl<T> Unpin for NonDeterministic<T>where
T: Unpin,
impl<T> UnwindSafe for NonDeterministic<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: Any,
impl<T> Any for Twhere
T: Any,
fn get_type_id(&self) -> TypeId
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Store> GraphTraversal for Storewhere
Store: GraphStore,
impl<Store> GraphTraversal for Storewhere
Store: GraphStore,
Source§fn visit<VisitImpl, Abort, Impl>(
self,
root_edges: impl IntoIterator<Item = <VisitImpl as Visit<<Store as GraphStore>::Node, Abort, Impl>>::Edge>,
visit: VisitImpl,
) -> impl Future<Output = GraphTraversalResult<Result<Store, Error>, Abort>> + Send
fn visit<VisitImpl, Abort, Impl>( self, root_edges: impl IntoIterator<Item = <VisitImpl as Visit<<Store as GraphStore>::Node, Abort, Impl>>::Edge>, visit: VisitImpl, ) -> impl Future<Output = GraphTraversalResult<Result<Store, Error>, Abort>> + Send
Visits the graph starting from the given roots
, and returns a future
that will resolve to the traversal result.
fn skip_duplicates(self) -> SkipDuplicates<Store>
fn skip_duplicates_with_visited_nodes( self, visited: VisitedNodes<<Store as GraphStore>::Node>, ) -> SkipDuplicates<Store>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more