Skip to main content

unbounded_unchecked

Function unbounded_unchecked 

Source
pub unsafe fn unbounded_unchecked<T>() -> (Sender<T>, Receiver<T>)
Expand description

Create an unbounded channel for the unforgettable parameter type T.

ยงSafety

T must not take ownership over itself.