[][src]Struct tokio_io::io::Lines

pub struct Lines<A> { /* fields omitted */ }

Combinator created by the top-level lines method which is a stream over the lines of text on an I/O object.

Methods

impl<A> Lines<A>[src]

pub fn into_inner(self) -> A[src]

Returns the underlying I/O object.

Note that this may lose data already read into internal buffers. It's recommended to only call this once the stream has reached its end.

Trait Implementations

impl<A: Debug> Debug for Lines<A>[src]

impl<A> Stream for Lines<A> where
    A: AsyncRead + BufRead
[src]

type Item = String

The type of item this stream will yield on success.

type Error = Error

The type of error this stream may generate.

Auto Trait Implementations

impl<A> RefUnwindSafe for Lines<A> where
    A: RefUnwindSafe

impl<A> Send for Lines<A> where
    A: Send

impl<A> Sync for Lines<A> where
    A: Sync

impl<A> Unpin for Lines<A> where
    A: Unpin

impl<A> UnwindSafe for Lines<A> where
    A: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.