Struct timely::communication::allocator::Thread[][src]

pub struct Thread { /* fields omitted */ }

An allocator for intra-thread communication.

Implementations

impl Thread[src]

pub fn new() -> Thread[src]

Allocates a new thread-local channel allocator.

pub fn new_from<T>(
    identifier: usize,
    events: Rc<RefCell<VecDeque<(usize, Event)>>>
) -> (Pusher<Message<T>, Pusher<Message<T>>>, Puller<Message<T>, Puller<Message<T>>>) where
    T: 'static, 
[src]

Creates a new thread-local channel from an identifier and shared counts.

Trait Implementations

impl Allocate for Thread[src]

Auto Trait Implementations

impl !RefUnwindSafe for Thread

impl !Send for Thread

impl !Sync for Thread

impl Unpin for Thread

impl !UnwindSafe for Thread

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.