Enum timely_util::Generic

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

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.

§

ZeroCopy(TcpAllocator<Process>)

Inter-process allocator.

Implementations§

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

The number of workers.

Perform work after scheduling operators.

Trait Implementations§

The index of the worker out of (0..self.peers()).
The number of workers in the communication group.
Constructs several send endpoints and one receive endpoint.
Ensure that received messages are surfaced in each channel. Read more
Signal the completion of a batch of reads from channels. Read more
A shared queue of communication events with channel identifier. Read more
Awaits communication events. Read more
Constructs a pipeline channel from the worker to itself. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.