(&self, f: &mut std::fmt::Formatter<'_>)
| 42 | |
| 43 | impl std::fmt::Display for StorageType { |
| 44 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 45 | let name = match self { |
| 46 | StorageType::Sled => "sled", |
| 47 | StorageType::Memory => "memory", |
| 48 | }; |
| 49 | write!(f, "{}", name) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | /// Error type for storage driver operations |
nothing calls this directly
no outgoing calls
no test coverage detected