FileIO trait
| 41 | |
| 42 | // FileIO trait |
| 43 | pub trait FileIO |
| 44 | { |
| 45 | fn read(&mut self, buffer: &mut [u8]) -> Result<usize, ()>; |
| 46 | fn write(&mut self, buffer: &[u8]) -> Result<usize, ()>; |
| 47 | } |
| 48 | |
| 49 | |
| 50 | // OpenFlag enumeration |
nothing calls this directly
no outgoing calls
no test coverage detected