Struct Split

struct Split<B> { ... }

An iterator over the contents of an instance of BufRead split on a particular byte.

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

Implementations

impl<B> Freeze for Split<B>

impl<B> RefUnwindSafe for Split<B>

impl<B> Send for Split<B>

impl<B> Sync for Split<B>

impl<B> Unpin for Split<B>

impl<B> UnwindSafe for Split<B>

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

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

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

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

impl<I> IntoIterator for Split<B>

fn into_iter(self: Self) -> I

impl<T> Any for Split<B>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Split<B>

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

impl<T> BorrowMut for Split<B>

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

impl<T> From for Split<B>

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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