1 2 3 4 5 6 7 8 9
/// An error when dealing with the database. #[derive(Debug, Clone)] pub enum Error<E> { /// An error in the database Database(sled::Error), /// An error in the function we're caching Client(E), }