Struct ByteLines

struct ByteLines<B> { ... }

An iterator over lines from an instance of std::io::BufRead.

This iterator is generally created by calling the byte_lines method on the BufReadExt trait.

Implementations

impl<B> Freeze for ByteLines<B>

impl<B> RefUnwindSafe for ByteLines<B>

impl<B> Send for ByteLines<B>

impl<B> Sync for ByteLines<B>

impl<B> Unpin for ByteLines<B>

impl<B> UnsafeUnpin for ByteLines<B>

impl<B> UnwindSafe for ByteLines<B>

impl<B: $crate::fmt::Debug> Debug for ByteLines<B>

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

impl<B: io::BufRead> Iterator for ByteLines<B>

fn next(self: &mut Self) -> Option<Result<Vec<u8>>>

impl<I> IntoIterator for ByteLines<B>

fn into_iter(self: Self) -> I

impl<T> Any for ByteLines<B>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ByteLines<B>

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

impl<T> BorrowMut for ByteLines<B>

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

impl<T> From for ByteLines<B>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for ByteLines<B>

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 ByteLines<B>

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

impl<T, U> TryInto for ByteLines<B>

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