pub trait PinSelect<'a> {
type Output;
// Required methods
fn validate(&self, _: &BitSet<usize>) -> bool;
fn select(&self, socket: Arc<Mutex<PortSocket>>) -> Self::Output;
}Expand description
Pin tuple conversion for gpio:pins(..)
pub trait PinSelect<'a> {
type Output;
// Required methods
fn validate(&self, _: &BitSet<usize>) -> bool;
fn select(&self, socket: Arc<Mutex<PortSocket>>) -> Self::Output;
}Pin tuple conversion for gpio:pins(..)