[][src]Constant ffi_support::handle_map::MAX_CAPACITY

pub const MAX_CAPACITY: usize

The maximum capacity of a HandleMap. Attempting to instantiate one with a larger capacity will cause a panic.

Note: This could go as high as (1 << 16) - 2, but doing is seems more error prone. For the sake of paranoia, we limit it to this size, which is already quite a bit larger than it seems like we're likely to ever need.