[][src]Struct commons_io::split::Split

pub struct Split<'separator, T: Read> { /* fields omitted */ }

Methods

impl<'separator, T: Read> Split<'separator, T>[src]

pub fn new(origin: T, separator: &'separator Vec<u8>) -> Split<T>[src]

pub fn new_part(&mut self) -> Option<Part<'_, 'separator, T>>[src]

pub fn release_origin(self) -> T[src]

Auto Trait Implementations

impl<'separator, T> Send for Split<'separator, T> where
    T: Send

impl<'separator, T> Sync for Split<'separator, T> where
    T: Sync

impl<'separator, T> Unpin for Split<'separator, T> where
    T: Unpin

impl<'separator, T> UnwindSafe for Split<'separator, T> where
    T: UnwindSafe

impl<'separator, T> RefUnwindSafe for Split<'separator, T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]