Struct DrainBytes
struct DrainBytes<'a> { ... }
A draining byte oriented iterator for Vec<u8>.
This iterator is created by
ByteVec::drain_bytes.
Examples
Basic usage:
use ByteVec;
let mut s = Vecfrom;
assert_eq!;
Implementations
impl<'a> Debug for DrainBytes<'a>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<'a> DoubleEndedIterator for DrainBytes<'a>
fn next_back(self: &mut Self) -> Option<u8>
impl<'a> ExactSizeIterator for DrainBytes<'a>
fn len(self: &Self) -> usize
impl<'a> Freeze for DrainBytes<'a>
impl<'a> FusedIterator for DrainBytes<'a>
impl<'a> Iterator for DrainBytes<'a>
fn next(self: &mut Self) -> Option<u8>
impl<'a> RefUnwindSafe for DrainBytes<'a>
impl<'a> Send for DrainBytes<'a>
impl<'a> Sync for DrainBytes<'a>
impl<'a> Unpin for DrainBytes<'a>
impl<'a> UnsafeUnpin for DrainBytes<'a>
impl<'a> UnwindSafe for DrainBytes<'a>
impl<I> IntoIterator for DrainBytes<'a>
fn into_iter(self: Self) -> I
impl<T> Any for DrainBytes<'a>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for DrainBytes<'a>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for DrainBytes<'a>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for DrainBytes<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for DrainBytes<'a>
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 DrainBytes<'a>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for DrainBytes<'a>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>