Struct ezomyte::Batched [] [src]

pub struct Batched<T: Debug, C = String> { /* fields omitted */ }

Wrapper around entries that come from the API in batches.

Besides Derefing to the entry type (T), the wrapper exposes batch tokens (e.g. change_id from public stash API) for resuming an interrupted entry fetch at some later time.

Methods

impl<T: Debug, C> Batched<T, C>
[src]

[src]

Returns the token for a batch that this entry is coming from.

[src]

Returns the token that can be used to request the next batch of entries.

Trait Implementations

impl<T: Debug + Debug, C: Debug> Debug for Batched<T, C>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Debug, C> Deref for Batched<T, C>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

Auto Trait Implementations

impl<T, C> Send for Batched<T, C> where
    C: Send,
    T: Send

impl<T, C> Sync for Batched<T, C> where
    C: Sync,
    T: Sync