aommap 0.3.1

Append only lock-free memory map implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub type Result<T> = core::result::Result<T, Error>;

#[derive(Debug)]
pub enum Error {
  BufTooLarge,
}

impl core::fmt::Display for Error {
  fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
    match self {
      Self::BufTooLarge => write!(f, "Buffer is too large"),
    }
  }
}