try_queue

Function try_queue 

Source
pub fn try_queue<Q: 'static + QueueModel + Send + Sync>(
    queue: Q,
) -> Result<QueuePair<Q>, Error>
Expand description

Creates a new send-receive pair together representing a message-passing queue, based on the given underlying queue structure.