[][src]Struct nyx::read::Reader

pub struct Reader<R, F> { /* fields omitted */ }

A reader that extends the read and read_vectored implementations to report their throughput every second.

Methods

impl<R, F> Reader<R, F>[src]

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

Consumes the reader and returns the original reader.

Trait Implementations

impl<R: Eq, F: Eq> Eq for Reader<R, F>[src]

impl<R: Clone, F: Clone> Clone for Reader<R, F>[src]

impl<R: PartialOrd, F: PartialOrd> PartialOrd<Reader<R, F>> for Reader<R, F>[src]

impl<R: PartialEq, F: PartialEq> PartialEq<Reader<R, F>> for Reader<R, F>[src]

impl<R: Ord, F: Ord> Ord for Reader<R, F>[src]

impl<R: Copy, F: Copy> Copy for Reader<R, F>[src]

impl<R: Hash, F: Hash> Hash for Reader<R, F>[src]

impl<R: Debug, F: Debug> Debug for Reader<R, F>[src]

impl<R: Read, F: FnMut(Bps)> Read for Reader<R, F>[src]

Auto Trait Implementations

impl<R, F> Send for Reader<R, F> where
    F: Send,
    R: Send

impl<R, F> Unpin for Reader<R, F> where
    F: Unpin,
    R: Unpin

impl<R, F> Sync for Reader<R, F> where
    F: Sync,
    R: Sync

impl<R, F> UnwindSafe for Reader<R, F> where
    F: UnwindSafe,
    R: UnwindSafe

impl<R, F> RefUnwindSafe for Reader<R, F> where
    F: RefUnwindSafe,
    R: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]