Crate dbs_allocator

Source
Expand description

Data structures and algorithms to support resource allocation and management.

The dbs-allocator crate provides data structures and algorithms to manage and allocate integer identifiable resources. The resource manager in virtual machine monitor (VMM) may manage and allocate resources for virtual machines by using:

  • Constraint: Struct to declare constraints for resource allocation.
  • IntervalTree: An interval tree implementation specialized for VMM resource management.

Re-exports§

pub use interval_tree::IntervalTree;
pub use interval_tree::NodeState;
pub use interval_tree::Range;

Modules§

interval_tree
An interval tree implementation specialized for VMM resource management.

Structs§

Constraint
Struct to declare resource allocation constraints.

Enums§

AllocPolicy
Resource allocation policies.
Error
Error codes for resource allocation operations.

Type Aliases§

Result
Specialized version of std::result::Result for resource allocation operations.