Function gpiod_core::check_len

source ยท
pub fn check_len<V, T: ?Sized>(slice: &[V], val: &T) -> Result<()>