Crate osom_lib_alloc

Source
Expand description

Allocator traits, optionally implementing std allocator if enabled through std_alloc feature.

Structs§

AllocationError
Represents an error that occurs when allocating memory. Most likely due to out of memory.
StdAllocatedMemorystd_alloc
A thin wrapper around *mut u8.
StdAllocatorstd_alloc
Represents the default allocator taken from the standard Rust library.

Traits§

AllocatedMemory
Represents a newly allocated piece of memory. Typically a thin wrapper around raw *mut u8 pointer, but type safe.
Allocator
Represents a memory allocator.