1
use std::borrow::Cow;
2
use std::sync::Arc;
3

            
4
use crate::tasks::compactor::Compaction;
5
use crate::views::integrity_scanner::IntegrityScan;
6
use crate::views::mapper::Map;
7

            
8
567339
#[derive(Debug, Clone, Hash, Eq, PartialEq)]
9
pub enum Task {
10
    IntegrityScan(IntegrityScan),
11
    ViewMap(Map),
12
    Compaction(Compaction),
13
    ExpirationLoader(Arc<Cow<'static, str>>),
14
}