What's the best way to tell the compiler that a path will basically never happen ?
I'm new to Rust, and my code has a part of it that uses a VecDeque filled with closures. It has a method that pops one and processes it. The last closure in that VecDeque ALWAYS contains code to add more closures to the deque. However, it starts out unpopulated, and requires the use of an initialize() method to actually get its first set of closures. As such, the only way the pop can return None is if it is used before initialization. The main function ensures this ́never does happen, because initialize() is always called before the first call of the processing method.
How can I tell the compiler that the None path will basically never happen ? I checked a bit and found the existence of unreachable\_unchecked and hint::cold. What would be the best ? Is there anything else I don't know about that's better ?