| 1 | use core::any::Any; |
| 2 | |
| 3 | pub trait BlockDevice: Send + Sync + Any { |
| 4 | fn read_block(&self, block_id: usize, buf: &mut [u8]); |
| 5 | fn write_block(&self, block_id: usize, buf: &[u8]); |
| 6 | fn handle_irq(&self); |
| 7 | } |
nothing calls this directly
no outgoing calls
no test coverage detected