fix clippy warning
This commit is contained in:
parent
53d6a2f69b
commit
0afd69f835
@ -14,8 +14,9 @@ use simplelog::*;
|
||||
use crate::utils::Media;
|
||||
|
||||
/// Defined process units.
|
||||
#[derive(Clone, Debug, Copy, Eq, Serialize, Deserialize, PartialEq)]
|
||||
#[derive(Clone, Debug, Default, Copy, Eq, Serialize, Deserialize, PartialEq)]
|
||||
pub enum ProcessUnit {
|
||||
#[default]
|
||||
Decoder,
|
||||
Encoder,
|
||||
Ingest,
|
||||
@ -31,12 +32,6 @@ impl fmt::Display for ProcessUnit {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for ProcessUnit {
|
||||
fn default() -> Self {
|
||||
ProcessUnit::Decoder
|
||||
}
|
||||
}
|
||||
|
||||
use ProcessUnit::*;
|
||||
|
||||
/// Process Controller
|
||||
|
Loading…
x
Reference in New Issue
Block a user