Derive several traits for ClockError

This commit is contained in:
Jan Niehusmann 2022-02-10 18:49:18 +00:00
parent 402b7f1eb8
commit fecde70cf9

View file

@ -99,6 +99,8 @@ impl ShareableClocks {
}
/// Something when wrong setting up the clock
#[non_exhaustive]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub enum ClockError {
/// The frequency desired is higher than the source frequency
CantIncreaseFreq,