Trait for hardware port I/O operations
| 12 | |
| 13 | /// Trait for hardware port I/O operations |
| 14 | pub trait Io { |
| 15 | type Value: Copy |
| 16 | + PartialEq |
| 17 | + core::ops::BitAnd<Output = Self::Value> |
| 18 | + core::ops::BitOr<Output = Self::Value> |
| 19 | + core::ops::Not<Output = Self::Value>; |
| 20 | |
| 21 | fn read(&self) -> Self::Value; |
| 22 | fn write(&mut self, value: Self::Value); |
| 23 | } |
| 24 | |
| 25 | // ---- FreeBSD ioctl infrastructure ---- |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected