pub(crate) fn worker_wakers(&self) -> Vec<Arc<Waker>> {
        match self {
            Self::Multi { workers, .. } => workers.iter().map(|v| v.waker()).collect(),
            Self::Single { worker } => {
                vec![worker.waker()]
            }
        }
    }
/// Returns the wakers for the non-storage workers. Used when setting-up the
/// queues to send sessions to the workers.
Returns the wakers for the non-storage workers. Used when setting-up the
queues to send sessions to the workers.
Returns the wakers for the non - storage workers . Used when setting - up the queues to send sessions to the workers .
pub(crate) fn worker_wakers(&self) -> Vec<Arc<Waker>> {
        match self {
            Self::Multi { workers, .. } => workers.iter().map(|v| v.waker()).collect(),
            Self::Single { worker } => {
                vec![worker.waker()]
            }
        }
    }
pub ( crate ) fn worker_wakers ( & self ) -> Vec < Arc < Waker > > { match self { Self :: Multi { workers , .. } => workers . iter ( ) . map ( | v | v . waker ( ) ) . collect ( ) , Self :: Single { worker } => { vec ! [ worker waker ( ) ] } } }
Returns the wakers for the non-storage workers.
Returns the wakers for the non - storage workers .
&self
&self