[][src]Struct nyx::write::Writer

pub struct Writer<W, F> { /* fields omitted */ }

A writer that extends the write and write_vectored implementations to be able to report their throughput every second.

Methods

impl<W, F> Writer<W, F>[src]

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

Consumes the writer and returns the original writer.

Trait Implementations

impl<W: Eq, F: Eq> Eq for Writer<W, F>[src]

impl<W: Clone, F: Clone> Clone for Writer<W, F>[src]

impl<W: PartialOrd, F: PartialOrd> PartialOrd<Writer<W, F>> for Writer<W, F>[src]

impl<W: PartialEq, F: PartialEq> PartialEq<Writer<W, F>> for Writer<W, F>[src]

impl<W: Ord, F: Ord> Ord for Writer<W, F>[src]

impl<W: Copy, F: Copy> Copy for Writer<W, F>[src]

impl<W: Hash, F: Hash> Hash for Writer<W, F>[src]

impl<W: Debug, F: Debug> Debug for Writer<W, F>[src]

impl<W: Write, F: FnMut(Bps)> Write for Writer<W, F>[src]

Auto Trait Implementations

impl<W, F> Send for Writer<W, F> where
    F: Send,
    W: Send

impl<W, F> Unpin for Writer<W, F> where
    F: Unpin,
    W: Unpin

impl<W, F> Sync for Writer<W, F> where
    F: Sync,
    W: Sync

impl<W, F> UnwindSafe for Writer<W, F> where
    F: UnwindSafe,
    W: UnwindSafe

impl<W, F> RefUnwindSafe for Writer<W, F> where
    F: RefUnwindSafe,
    W: 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]