Trait timely::communication::allocator::AllocateBuilder [−][src]
A proto-allocator, which implements Send
and can be completed with build
.
This trait exists because some allocators contain elements that do not implement
the Send
trait, for example Rc
wrappers for shared state. As such, what we
actually need to create to initialize a computation are builders, which we can
then move into new threads each of which then construct their actual allocator.
Associated Types
Loading content...Required methods
Loading content...Implementors
impl AllocateBuilder for GenericBuilder
[src]
impl AllocateBuilder for timely::communication::allocator::process::ProcessBuilder
[src]
type Allocator = Process
pub fn build(self) -> <ProcessBuilder as AllocateBuilder>::Allocator
[src]
impl AllocateBuilder for ThreadBuilder
[src]
type Allocator = Thread
pub fn build(self) -> <ThreadBuilder as AllocateBuilder>::Allocator
[src]
impl AllocateBuilder for timely::communication::allocator::zero_copy::allocator_process::ProcessBuilder
[src]
type Allocator = ProcessAllocator
pub fn build(self) -> <ProcessBuilder as AllocateBuilder>::Allocator
[src]
Builds allocator, consumes self.