add levels

This commit is contained in:
xoviat 2021-01-05 17:38:46 -06:00 committed by GitHub
parent a9d9f3bf80
commit 938919367a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,14 @@ impl From<u8> for Priority {
5 => Self::Level5, 5 => Self::Level5,
6 => Self::Level6, 6 => Self::Level6,
7 => Self::Level7, 7 => Self::Level7,
8 => Self::Level8,
9 => Self::Level9,
10 => Self::Level10,
11 => Self::Level11,
12 => Self::Level12,
13 => Self::Level13,
14 => Self::Level14,
15 => Self::Level15,
_ => unreachable!(), _ => unreachable!(),
} }
} }