(&self)
| 485 | /// Retrieve the current switch state directly via kernel syscall. |
| 486 | #[inline] |
| 487 | pub fn get_switch_state(&self) -> io::Result<AttributeSet<SwitchCode>> { |
| 488 | let mut switch_vals = AttributeSet::new(); |
| 489 | self.update_switch_state(&mut switch_vals)?; |
| 490 | Ok(switch_vals) |
| 491 | } |
| 492 | |
| 493 | /// Retrieve the current LED state directly via kernel syscall. |
| 494 | #[inline] |
nothing calls this directly
no test coverage detected