Module xalloc::arena [] [src]

Memory arena traits (used by Tlsf).

Re-exports

pub use self::sys::SysAllocator;
pub use self::checked::CheckedArena;
pub use self::pooled::PooledArena;

Modules

checked

Naïve memory-safe implementation of Arena.

pooled

Adds a Vec-based pool to any memory arena for faster reallocation.

sys

UnsafeArena implementation that relies on the system memory allocator.

Traits

Arena

Memory-safe homogeneous memory arena types.

SafeArena

Marker trait indicating all operations from UnsafeArena are actually implemented as memory-safe (not unsafe).

UnsafeArena

Homogeneous memory arena types supporting operations that do not guarantee memory safety.

UnsafeArenaWithMembershipCheck

Homogeneous memory arena types capable of checking whether a given pointer was created by the same instance of the arena.