Function leak_playground_flume::bounded_unchecked

source ·
pub unsafe fn bounded_unchecked<T>(cap: usize) -> (Sender<T>, Receiver<T>)
Expand description

Create a bounded channel for the unforgettable parameter type T.

§Safety

T must not take ownership over itself.