fn take_descriptor(index: usize) -> Result<SafeDescriptor, &'static str>
Expand description

Takes a descriptor at the given index from the thread local source of descriptors. Returns None if the thread local source was not already initialized.