Struct tikv::server::debug::MvccInfoIterator[][src]

pub struct MvccInfoIterator<Iter: EngineIterator> {
    scanner: MvccInfoScanner<Iter, MvccInfoCollector>,
    limit: usize,
    count: usize,
}

Fields

scanner: MvccInfoScanner<Iter, MvccInfoCollector>limit: usizecount: usize

Implementations

impl<Iter: EngineIterator> MvccInfoIterator<Iter>[src]

pub fn new<F>(
    f: F,
    from: Option<&[u8]>,
    to: Option<&[u8]>,
    limit: usize
) -> Result<Self> where
    F: Fn(&str, IterOptions) -> Result<Iter>, 
[src]

Trait Implementations

impl<Iter: EngineIterator> Iterator for MvccInfoIterator<Iter>[src]

type Item = Result<(Vec<u8>, MvccInfo)>

The type of the elements being iterated over.

Auto Trait Implementations

impl<Iter> RefUnwindSafe for MvccInfoIterator<Iter> where
    Iter: RefUnwindSafe

impl<Iter> Send for MvccInfoIterator<Iter>

impl<Iter> Sync for MvccInfoIterator<Iter> where
    Iter: Sync

impl<Iter> Unpin for MvccInfoIterator<Iter> where
    Iter: Unpin

impl<Iter> UnwindSafe for MvccInfoIterator<Iter> where
    Iter: UnwindSafe

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<V, W> ConvertFrom<W> for V where
    W: ConvertTo<V>, 
[src]

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

impl<T> Instrument 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<I> IteratorRandom for I where
    I: Iterator
[src]

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

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]