1use crate::FrameSource;
2
3#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
4pub enum Void {}
5
6impl Default for Void {
7 fn default() -> Self {
8 unreachable!()
9 }
10}
11
12impl std::fmt::Display for Void {
13 fn fmt(&self, _: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
14 unreachable!()
15 }
16}
17
18impl std::error::Error for Void {}
19impl FrameSource for Void {
20 type Source = Void;
21
22 fn kind(&self) -> crate::FrameSourceKind {
23 unreachable!()
24 }
25
26 fn url(&self) -> &str {
27 unreachable!()
28 }
29
30 fn source(&self) -> &Self::Source {
31 unreachable!()
32 }
33
34 fn name(&self) -> &str {
35 unreachable!()
36 }
37}