Type Definition tokio_beanstalkd::Tube

source ·
pub type Tube = String;
Expand description

A Tube is a way of separating different types of jobs in Beanstalkd.

The clinet can use a particular tube by calling using and Beanstalkd will create a new tube if one does not already exist with that name. Workers can watch particular tubes and receive jobs only from those tubes.