pub enum GenericBuilder {
Thread(ThreadBuilder),
Process(TypedProcessBuilder),
ProcessBinary(ProcessBuilder),
ZeroCopy(TcpBuilder<TypedProcessBuilder>),
}
Expand description
Enumerations of constructable implementors of Allocate
.
The builder variants are meant to be Send
, so that they can be moved across threads,
whereas the allocator they construct may not. As an example, the ProcessBinary
type
contains Rc
wrapped state, and so cannot itself be moved across threads.
Variants
Thread(ThreadBuilder)
Builder for Thread
allocator.
Process(TypedProcessBuilder)
Builder for Process
allocator.
ProcessBinary(ProcessBuilder)
Builder for ProcessBinary
allocator.
ZeroCopy(TcpBuilder<TypedProcessBuilder>)
Builder for ZeroCopy
allocator.
Trait Implementations
sourceimpl AllocateBuilder for GenericBuilder
impl AllocateBuilder for GenericBuilder
Auto Trait Implementations
impl RefUnwindSafe for GenericBuilder
impl Send for GenericBuilder
impl Sync for GenericBuilder
impl Unpin for GenericBuilder
impl UnwindSafe for GenericBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more