pub fn never<T>() -> RReceiver<T>
Creates a receiver that can never receive any value.
use abi_stable::external_types::crossbeam_channel as mpmc; let rx = mpmc::never::<()>(); assert_eq!(rx.try_recv().ok(), None);