#[non_exhaustive]pub enum Location<T> {
Any,
At(T),
}Available on crate feature
full only.Expand description
The strategy used to place the allocation within the address space.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Any
The memory can be allocated at any available address in the address space.
At(T)
The allocator call should fail if the specifically requested address is unavailable.