[][src]Struct rs_es::operations::search::ScanResultInterim

pub struct ScanResultInterim<T> { /* fields omitted */ }

Used when scanning and scrolling through results, a ScanResult is returned when the scan is opened. To scroll through the results an application has two options:

  1. Call scroll repeatedly until the returned results have zero hits. If this approach is taken, the caller is also responsible for calling close when finished, to prevent any server-side resources being held open.

  2. Call 'iter' to create an iterator from which the hits can be read. If this approach is taken, there is no need to call close, it will be called automatically when iteration ends.

See also the official ElasticSearch documentation for proper use of this functionality.

Trait Implementations

impl<T: Debug> Debug for ScanResultInterim<T>[src]

impl<'de, T> Deserialize<'de> for ScanResultInterim<T> where
    T: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<T> Sync for ScanResultInterim<T> where
    T: Sync

impl<T> Send for ScanResultInterim<T> where
    T: Send

impl<T> Unpin for ScanResultInterim<T>

impl<T> RefUnwindSafe for ScanResultInterim<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for ScanResultInterim<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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