[][src]Struct timely_communication::allocator::zero_copy::push_pull::Pusher

pub struct Pusher<T, P: BytesPush> { /* fields omitted */ }

An adapter into which one may push elements of type T.

This pusher has a fixed MessageHeader, and access to a SharedByteBuffer which it uses to acquire buffers for serialization.

Methods

impl<T, P: BytesPush> Pusher<T, P>[src]

pub fn new(
    header: MessageHeader,
    sender: Rc<RefCell<SendEndpoint<P>>>
) -> Pusher<T, P>
[src]

Creates a new Pusher from a header and shared byte buffer.

Trait Implementations

impl<T: Data, P: BytesPush> Push<Message<T>> for Pusher<T, P>[src]

Auto Trait Implementations

impl<T, P> !Send for Pusher<T, P>

impl<T, P> !Sync for Pusher<T, P>

impl<T, P> Unpin for Pusher<T, P> where
    T: Unpin

impl<T, P> !UnwindSafe for Pusher<T, P>

impl<T, P> !RefUnwindSafe for Pusher<T, P>

Blanket Implementations

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> 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]