Struct Lines

struct Lines<B> { ... }

An iterator over the lines of an instance of BufRead.

This struct is generally created by calling lines on a BufRead. Please see the documentation of lines for more details.

Implementations

impl<B> Freeze for Lines<B>

impl<B> RefUnwindSafe for Lines<B>

impl<B> Send for Lines<B>

impl<B> Sync for Lines<B>

impl<B> Unpin for Lines<B>

impl<B> UnwindSafe for Lines<B>

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

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

impl<B: BufRead> Iterator for Lines<B>

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

impl<I> IntoIterator for Lines<B>

fn into_iter(self: Self) -> I

impl<T> Any for Lines<B>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Lines<B>

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

impl<T> BorrowMut for Lines<B>

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

impl<T> From for Lines<B>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Lines<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 Lines<B>

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

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

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