[][src]Struct eyros::QueryIterator

pub struct QueryIterator<'b, S, P, V> where
    S: RandomAccess<Error = Error>,
    P: Point,
    V: Value
{ /* fields omitted */ }

Iterator of Result<(Point,Value,Location)> data returned by db.query().

Methods

impl<'b, S, P, V> QueryIterator<'b, S, P, V> where
    S: RandomAccess<Error = Error>,
    P: Point,
    V: Value
[src]

pub fn new(
    queries: Vec<SubIterator<'b, S, P, V>>,
    deletes: Rc<RefCell<HashSet<Location>>>
) -> Result<Self, Error>
[src]

Trait Implementations

impl<'b, S, P, V> Iterator for QueryIterator<'b, S, P, V> where
    S: RandomAccess<Error = Error>,
    P: Point,
    V: Value
[src]

type Item = Result<(P, V, Location), Error>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'b, S, P, V> !RefUnwindSafe for QueryIterator<'b, S, P, V>

impl<'b, S, P, V> !Send for QueryIterator<'b, S, P, V>

impl<'b, S, P, V> !Sync for QueryIterator<'b, S, P, V>

impl<'b, S, P, V> Unpin for QueryIterator<'b, S, P, V> where
    P: Unpin,
    V: Unpin

impl<'b, S, P, V> !UnwindSafe for QueryIterator<'b, S, P, V>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.