[][src]Struct nyx::Send

pub struct Send<T> { /* fields omitted */ }

A wrapper that yields the bytes by sending it through the provided Sender.

Methods

impl<T> Send<T>[src]

pub fn interval(&self) -> Duration[src]

Gets the update interval.

pub fn set_interval(&mut self, interval: Duration)[src]

Sets the update interval.

By default the interval is one second.

pub fn get_ref(&self) -> &T[src]

Returns a reference to the inner T.

pub fn get_mut(&mut self) -> &mut T[src]

Returns a mutable reference to the inner T.

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

Returns the inner T.

Trait Implementations

impl<I: Iterator> Iterator for Send<I>[src]

type Item = I::Item

The type of the elements being iterated over.

impl<I: DoubleEndedIterator> DoubleEndedIterator for Send<I>[src]

impl<I: ExactSizeIterator> ExactSizeIterator for Send<I>[src]

impl<T: Clone> Clone for Send<T>[src]

impl<T: Debug> Debug for Send<T>[src]

impl<I: FusedIterator> FusedIterator for Send<I>[src]

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

impl<W: Write> Write for Send<W>[src]

Auto Trait Implementations

impl<T> Send for Send<T> where
    T: Send

impl<T> !Sync for Send<T>

impl<T> Unpin for Send<T> where
    T: Unpin

impl<T> !UnwindSafe for Send<T>

impl<T> !RefUnwindSafe for Send<T>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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