Function ssp::channels

source ·
pub fn channels<'a>(
    chan_lock: &'a MutexGuard<'static, Channels>
) -> Result<&'a [ChannelValue]>
Expand description

Gets a reference to the number of configured channels.

Example:

let chan_lock = ssp::lock_channels()?;
let _channels = ssp::channels(&chan_lock)?;