gavl 0.1.5

A fast implementation for a map and a set using an AVL tree
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! test doc
use thiserror::Error;


/// Enum for the possible errors that can be returned by the library
#[derive(Error, Debug, PartialEq, Eq)]
pub enum Error {
    /// Occurs when key is taken
    #[error("key is already taken")]
    KeyOcupied, 
    /// Occurs when the key couldn't be found
    #[error("key wasn't found")]
    NotFound,
}