x_map/
error.rs

1use std::error::Error;
2use std::fmt::{Debug, Display, Formatter};
3
4pub enum MapErrorKind {
5    KeyAlreadyExists
6}
7
8pub struct MapError {
9
10}
11
12impl Debug for MapError {
13    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
14        todo!()
15    }
16}
17
18impl Display for MapError {
19    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
20        todo!()
21    }
22}
23
24impl Error for MapError {
25
26}