[][src]Struct genio::util::RepeatBytes

pub struct RepeatBytes<B> { /* fields omitted */ }

Reader repeating a sequence of bytes infinitely.

Trait Implementations

impl<B: AsRef<[u8]>> Read for RepeatBytes<B>[src]

type ReadError = Void

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

Auto Trait Implementations

impl<B> RefUnwindSafe for RepeatBytes<B> where
    B: RefUnwindSafe

impl<B> Send for RepeatBytes<B> where
    B: Send

impl<B> Sync for RepeatBytes<B> where
    B: Sync

impl<B> Unpin for RepeatBytes<B> where
    B: Unpin

impl<B> UnwindSafe for RepeatBytes<B> where
    B: 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.