The LayoutError is returned when the parameters given
to Layout::from_size_align
or some other Layout constructor
do not satisfy its documented constraints.
The AllocError error indicates an allocation failure
that may be due to resource exhaustion or to
something wrong when combining the given input arguments with this
allocator.