(&self, f: &mut std::fmt::Formatter<'_>)
| 27 | |
| 28 | impl std::fmt::Display for ScanStartError { |
| 29 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 30 | match self { |
| 31 | Self::Draining => f.write_str("collection is draining"), |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | impl std::error::Error for ScanStartError {} |