[][src]Struct timely_communication::allocator::counters::Pusher

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

The push half of an intra-thread channel.

Methods

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

pub fn new(
    pusher: P,
    index: usize,
    events: Rc<RefCell<VecDeque<(usize, Event)>>>
) -> Self
[src]

Wraps a pusher with a message counter.

Trait Implementations

impl<T, P: Push<T>> Push<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
    P: Unpin,
    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]