[][src]Enum timely_communication::allocator::generic::Generic

pub enum Generic {
    Thread(Thread),
    Process(Process),
    ProcessBinary(ProcessAllocator),
    ZeroCopy(TcpAllocator<Process>),
}

Enumerates known implementors of Allocate. Passes trait method calls on to members.

Variants

Thread(Thread)

Intra-thread allocator.

Process(Process)

Inter-thread, intra-process allocator.

ProcessBinary(ProcessAllocator)

Inter-thread, intra-process serializing allocator.

Inter-process allocator.

Methods

impl Generic[src]

pub fn index(&self) -> usize[src]

The index of the worker out of (0..self.peers()).

pub fn peers(&self) -> usize[src]

The number of workers.

pub fn release(&mut self)[src]

Perform work after scheduling operators.

Trait Implementations

impl Allocate for Generic[src]

Auto Trait Implementations

impl !Send for Generic

impl !Sync for Generic

impl Unpin for Generic

impl !UnwindSafe for Generic

impl !RefUnwindSafe for Generic

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]