[][src]Type Definition xalloc::tlsf::SafeTlsf

type SafeTlsf<T> = Tlsf<T, CheckedArena<TlsfBlock<T, Ptr>>, Ptr>;

Tlsf that uses CheckedArena for rigorous memory safety check.

It is really slow. Use SysTlsf in a production code.

Type parameter

  • T is an integer type used to represent region sizes. You usually use u32 or u64 for this.

Implementations

impl<T: BinaryUInteger> SafeTlsf<T>[src]

pub fn new(size: T) -> Self[src]

Construct a SafeTlsf.