[−][src]Struct async_memcached::MetadumpIter
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,