Skip to main content

dptree/handler/description/
unspecified.rs

1use crate::HandlerDescription;
2
3/// Uninformative handler description.
4#[derive(Debug, PartialEq, Eq)]
5pub struct Unspecified(());
6
7impl HandlerDescription for Unspecified {
8    fn entry() -> Self {
9        Self(())
10    }
11
12    fn user_defined() -> Self {
13        Self(())
14    }
15
16    fn merge_chain(&self, _other: &Self) -> Self {
17        Self(())
18    }
19
20    fn merge_branch(&self, _other: &Self) -> Self {
21        Self(())
22    }
23}