allocator-suite 0.1.7

Allocator Suite for various allocation types
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Records which allocator is currently in use for `Global` allocations.
///
/// This does not affect reallocations or deallocations in any way.
#[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
pub enum CurrentAllocatorInUse {
    /// A coroutine local allocator.
    CoroutineLocal,

    /// A thread local allocator.
    ThreadLocal,

    /// A global allocator.
    Global,
}