(&self, f: &mut fmt::Formatter)
| 27 | |
| 28 | impl fmt::Display for BufIoError { |
| 29 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |
| 30 | match self { |
| 31 | Self::Io(error) => write!(f, "IO error: {}", error), |
| 32 | Self::Locking => f.write_str("Locking error"), |
| 33 | Self::InvalidCursor(cursor) => write!(f, "Invalid cursor `{}`", cursor), |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | struct BufferRegion { |
nothing calls this directly
no outgoing calls
no test coverage detected