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
State - A proc’s status. A proc can only monotonically move from
Created
toRunning
toStopped
. - Proc
Stop Reason - The reason a proc stopped.