Struct IntoIter

struct IntoIter<T> { ... }

An iterator over the value in a Ok variant of a Result.

The iterator yields one value if the result is Ok, otherwise none.

This struct is created by the into_iter method on Result (provided by the IntoIterator trait).

Implementations

impl<A> TrustedLen for IntoIter<A>

impl<I> IntoIterator for IntoIter<T>

fn into_iter(self: Self) -> I

impl<T> Any for IntoIter<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoIter<T>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IntoIter<T>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for IntoIter<T>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> DoubleEndedIterator for IntoIter<T>

fn next_back(self: &mut Self) -> Option<T>

impl<T> ExactSizeIterator for IntoIter<T>

impl<T> Freeze for IntoIter<T>

impl<T> From for IntoIter<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FusedIterator for IntoIter<T>

impl<T> Iterator for IntoIter<T>

fn next(self: &mut Self) -> Option<T>
fn size_hint(self: &Self) -> (usize, Option<usize>)

impl<T> RefUnwindSafe for IntoIter<T>

impl<T> Send for IntoIter<T>

impl<T> Sync for IntoIter<T>

impl<T> Unpin for IntoIter<T>

impl<T> UnwindSafe for IntoIter<T>

impl<T, U> Into for IntoIter<T>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IntoIter<T>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IntoIter<T>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<T: $crate::clone::Clone> Clone for IntoIter<T>

fn clone(self: &Self) -> IntoIter<T>

impl<T: $crate::fmt::Debug> Debug for IntoIter<T>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result