(&self, f: &mut Formatter<'_>)
| 30 | |
| 31 | impl Display for ImageType { |
| 32 | fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { |
| 33 | match self { |
| 34 | ImageType::Raw => write!(f, "raw"), |
| 35 | ImageType::Qcow2 => write!(f, "qcow2"), |
| 36 | } |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | impl FromStr for ImageType { |