[][src]Struct genio::std_impls::GenioRead

pub struct GenioRead<R>(_);

Wrapper providing genio::Read trait for std::io::Read types.

Methods

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

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

Wraps std readerinto genio reader.

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

Unwraps std reader genio reader.

Trait Implementations

impl<R: Read> Read for GenioRead<R>[src]

type ReadError = Error

Value of this type is returned when read() fails. Read more

Auto Trait Implementations

impl<R> RefUnwindSafe for GenioRead<R> where
    R: RefUnwindSafe

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

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

impl<R> Unpin for GenioRead<R> where
    R: Unpin

impl<R> UnwindSafe for GenioRead<R> where
    R: 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<R> ReadExt for R where
    R: Read + ?Sized
[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.