equal
deleted
inserted
replaced
18 |
18 |
19 use std::{borrow::Cow, fmt}; |
19 use std::{borrow::Cow, fmt}; |
20 |
20 |
21 /// Wrong type of file from a `BadMatch` |
21 /// Wrong type of file from a `BadMatch` |
22 /// Note: a lot of those don't exist on all platforms. |
22 /// Note: a lot of those don't exist on all platforms. |
23 #[derive(Debug, Copy, Clone)] |
23 #[derive(Debug, Copy, Clone, PartialEq, Eq)] |
24 pub enum BadType { |
24 pub enum BadType { |
25 CharacterDevice, |
25 CharacterDevice, |
26 BlockDevice, |
26 BlockDevice, |
27 FIFO, |
27 FIFO, |
28 Socket, |
28 Socket, |