get_or_register_slot

Function get_or_register_slot 

Source
pub fn get_or_register_slot() -> Option<usize>
Expand description

Get or register the current thread’s slot index

Returns Some(index) if registered (or already was), None if registry is full.