[][src]Struct async_memcached::MetadumpIter

pub struct MetadumpIter<'a> { /* fields omitted */ }

Asynchronous iterator for metadump operations.

Implementations

impl<'a> MetadumpIter<'a>[src]

pub async fn next<'_>(&'_ mut self) -> Option<Result<KeyMetadata, Error>>[src]

Gets the next result for the current operation.

If there is another key in the dump, Some(Ok(KeyMetadata)) will be returned. If there was an error while attempting to start the metadump operation, or if there was a general network/protocol-level error, Some(Err(Error)) will be returned.

Otherwise, None will be returned and signals the end of the iterator. Subsequent calls will return None.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for MetadumpIter<'a>

impl<'a> Send for MetadumpIter<'a>

impl<'a> Sync for MetadumpIter<'a>

impl<'a> Unpin for MetadumpIter<'a>

impl<'a> !UnwindSafe for MetadumpIter<'a>

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<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.