The struct Node is a linked list node. There is a vector which will contain a bunch of linked lists.
What should I make the elements of the vector, if I want to atomically (using CAS) add elements to the head of a list. Should it be Option<AtomicPtr> or AtomicPtr<Option>? Or anything else is suitable for the purpose??
PS: I am just experimenting with the std::sync::atomic and memory orderings. So I don't know what I am doing is right or wrong. Any feedback is welcome