Function base::descriptor_reflection::take_descriptor_src
source · fn take_descriptor_src() -> Result<Vec<Option<SafeDescriptor>>, &'static str>
Expand description
Takes the thread local storage of descriptors for deserialization. Fails if the storage was
already taken or never set with set_descriptor_src
.
If deserialization was done, the descriptors will mostly come back as None
unless some of them
were unused.