profile_traits::ipc

Function channel

source
pub fn channel<T>(
    time_profile_chan: ProfilerChan,
) -> Result<(IpcSender<T>, IpcReceiver<T>), Error>
where T: for<'de> Deserialize<'de> + Serialize,