charred 2.2.0

charred char checking
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

pub type TapeResult<T> = Result<T, TapeError>;

#[derive(Debug, Error)]
pub enum TapeError {
    #[error("IO Error: {0}")]
    TokioIoError(#[from] tokio::io::Error),

    #[error("Unexpected EOF")]
    EOF,

    #[error("Failed to read char at current index")]
    IndexError,
}