detector 0.4.2

A set of types for service registration and discovery.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::fmt::{Debug, Display, Formatter};

#[derive(Copy, Clone)]
pub struct NoMetaError;

impl Debug for NoMetaError {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        f.debug_struct("NoMetaError").finish()
    }
}

impl Display for NoMetaError {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        f.debug_struct("NoMetaError").finish()
    }
}

impl std::error::Error for NoMetaError {}