Struct SliceIter

struct SliceIter<'a, T> { ... }

Iterator over all PEM sections in a &[u8] slice.

Implementations

impl<'a, T: PemObject> SliceIter<'a, T>

fn new(current: &'a [u8]) -> Self

Create a new iterator.

impl<'a, T> Freeze for SliceIter<'a, T>

impl<'a, T> RefUnwindSafe for SliceIter<'a, T>

impl<'a, T> Send for SliceIter<'a, T>

impl<'a, T> Sync for SliceIter<'a, T>

impl<'a, T> Unpin for SliceIter<'a, T>

impl<'a, T> UnwindSafe for SliceIter<'a, T>

impl<I> IntoIterator for SliceIter<'a, T>

fn into_iter(self: Self) -> I

impl<T> Any for SliceIter<'a, T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SliceIter<'a, T>

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

impl<T> BorrowMut for SliceIter<'a, T>

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

impl<T> From for SliceIter<'a, T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for SliceIter<'a, 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 SliceIter<'a, T>

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

impl<T, U> TryInto for SliceIter<'a, T>

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

impl<T: PemObject> Iterator for SliceIter<'_, T>

fn next(self: &mut Self) -> Option<<Self as >::Item>