Terminator

Trait Terminator 

Source
pub trait Terminator<T: FromGValue>: Clone {
    type List;
    type Next;
    type HasNext;
    type Iter;

    // Required methods
    fn to_list<S, E>(&self, traversal: &GraphTraversal<S, T, E>) -> Self::List
       where E: Terminator<T>;
    fn next<S, E>(&self, traversal: &GraphTraversal<S, T, E>) -> Self::Next
       where E: Terminator<T>;
    fn has_next<S, E>(
        &self,
        traversal: &GraphTraversal<S, T, E>,
    ) -> Self::HasNext
       where E: Terminator<T>;
    fn iter<S, E>(&self, traversal: &GraphTraversal<S, T, E>) -> Self::Iter
       where E: Terminator<T>;
}

Required Associated Types§

Required Methods§

Source

fn to_list<S, E>(&self, traversal: &GraphTraversal<S, T, E>) -> Self::List
where E: Terminator<T>,

Source

fn next<S, E>(&self, traversal: &GraphTraversal<S, T, E>) -> Self::Next
where E: Terminator<T>,

Source

fn has_next<S, E>(&self, traversal: &GraphTraversal<S, T, E>) -> Self::HasNext
where E: Terminator<T>,

Source

fn iter<S, E>(&self, traversal: &GraphTraversal<S, T, E>) -> Self::Iter
where E: Terminator<T>,

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.

Implementors§