Struct swap_queue::Stealer [−][src]
pub struct Stealer<T> { /* fields omitted */ }
Expand description
For every buffer swapped in a stealer is issued that can later swap out and take ownership of that buffer
Implementations
Take the entire queue via swapping the underlying buffer and converting into a Vec<T>
Take the entire queue via swapping the underlying buffer and converting into a Vec<T>
, blocking only if write in progress. This is always non-blocking if never moved to a new thread.