Expand description
This module defines a proc allocator interface as well as a multi-process
(local) allocator, ProcessAllocator.
Re-exports§
pub use local::LocalAlloc;pub use local::LocalAllocator;pub use process::ProcessAlloc;pub use process::ProcessAllocator;
Modules§
- __
mock_ Mock Alloc - __
mock_ Mock Alloc_ Alloc - __
mock_ Mock Allocator - __
mock_ Mock Allocator_ Allocator - local
- Support for allocating procs in the local process.
- process
- remoteprocess
- sim
- Support for allocating procs in the local process with simulated channels.
- test_
utils
Structs§
- Alloc
Constraints - Constraints on the allocation.
- Alloc
Spec - A specification (desired state) of an alloc.
- Mock
Alloc - An alloc is a specific allocation, returned by an
Allocator. - Mock
Allocator - The core allocator trait, implemented by all allocators.
Enums§
- Allocator
Error - Errors that occur during allocation operations.
- Proc
Allocation Mode - Specifies how to interpret the extent dimensions for allocation.
- Proc
State - A proc’s status. A proc can only monotonically move from
CreatedtoRunningtoStopped. - Proc
Stop Reason - The reason a proc stopped.
Statics§
- REMOTE_
ALLOC_ ALLOWED_ PORT_ RANGE - For Tcp channel types, if set, only uses ports in this range for the
frontend ports. The input should be in the format “
.. ”, where is exclusive. e.g.: - REMOTE_
ALLOC_ BIND_ TO_ INADDR_ ANY - For Tcp channel types, if true, bind the IP address to INADDR_ANY (0.0.0.0 or [::]) for frontend ports.
- REMOTE_
ALLOC_ BOOTSTRAP_ ADDR - Specify the address alloc uses as its bootstrap address. e.g.: