[][src]Struct streamparser::read::ReadSource

pub struct ReadSource<T, S> { /* fields omitted */ }

Implementations

impl<T, S> ReadSource<T, S>[src]

pub fn new(stream: S, chunk_size: usize) -> Self[src]

Trait Implementations

impl<S> Advance for ReadSource<u8, S> where
    S: Read
[src]

type Error = S::Error

impl<S> AdvanceAsync for ReadSource<u8, S> where
    S: AsyncRead + Unpin
[src]

type Error = S::Error

impl<T, S> Buffer for ReadSource<T, S>[src]

type Output = [T]

impl<T: Debug, S: Debug> Debug for ReadSource<T, S>[src]

Auto Trait Implementations

impl<T, S> RefUnwindSafe for ReadSource<T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, S> Send for ReadSource<T, S> where
    S: Send,
    T: Send

impl<T, S> Sync for ReadSource<T, S> where
    S: Sync,
    T: Sync

impl<T, S> Unpin for ReadSource<T, S> where
    S: Unpin,
    T: Unpin

impl<T, S> UnwindSafe for ReadSource<T, S> where
    S: UnwindSafe,
    T: 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.