Skip to main content

bounded_unchecked

Function 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.