Trait timely::Push[][src]

pub trait Push<T> {
    fn push(&mut self, element: &mut Option<T>);

    fn send(&mut self, element: T) { ... }
fn done(&mut self) { ... } }

Pushing elements of type T.

Required Methods

Pushes element and provides the opportunity to take ownership.

The value of element after the call may be changed. A change does not imply anything other than that the implementor took resources associated with element and is returning other resources.

Provided Methods

Pushes element and drops any resulting resources.

Pushes None, conventionally signalling a flush.

Implementations on Foreign Types

impl<T> Push<T> for Pusher<T>
[src]

impl<T, P> Push<T> for Box<P> where
    P: Push<T> + ?Sized
[src]

Implementors