Struct Drain
struct Drain<'a, K: Hash + Eq + Send, V: Send> { ... }
Draining parallel iterator that moves out of a hash map, but keeps the total capacity.
Implementations
impl<'a, K, V> Freeze for Drain<'a, K, V>
impl<'a, K, V> RefUnwindSafe for Drain<'a, K, V>
impl<'a, K, V> Send for Drain<'a, K, V>
impl<'a, K, V> Sync for Drain<'a, K, V>
impl<'a, K, V> Unpin for Drain<'a, K, V>
impl<'a, K, V> UnwindSafe for Drain<'a, K, V>
impl<'a, K: $crate::fmt::Debug + Hash + Eq + Send, V: $crate::fmt::Debug + Send> Debug for Drain<'a, K, V>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<K: Hash + Eq + Send, V: Send> ParallelIterator for Drain<'_, K, V>
fn drive_unindexed<C>(self: Self, consumer: C) -> <C as >::Result where C: UnindexedConsumer<<Self as >::Item>fn opt_len(self: &Self) -> Option<usize>
impl<T> Any for Drain<'a, K, V>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Drain<'a, K, V>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Drain<'a, K, V>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Drain<'a, K, V>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoParallelIterator for Drain<'a, K, V>
fn into_par_iter(self: Self) -> T
impl<T> Pointable for Drain<'a, K, V>
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T, U> Into for Drain<'a, K, V>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Drain<'a, K, V>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Drain<'a, K, V>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>