[][src]Struct twitchchat::SyncReadAdapter

pub struct SyncReadAdapter<R> { /* fields omitted */ }

Default synchronous Reader that uses an std::io::Read implementation

Methods

impl<R: Read> SyncReadAdapter<R>[src]

pub fn new(read: R) -> Self[src]

Create a new SyncReadAdapter from an std::io::Read

Trait Implementations

impl<R: Read> ReadAdapter for SyncReadAdapter<R>[src]

type Reader = R

the Inner read type (can be a Unit)

Auto Trait Implementations

impl<R> Send for SyncReadAdapter<R> where
    R: Send

impl<R> Sync for SyncReadAdapter<R> where
    R: Sync

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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