http3 0.1.0

An async HTTP/3 implementation.
Documentation
use super::{prefix_int, prefix_string};

#[derive(Debug, PartialEq)]
pub enum ParseError {
    Integer(prefix_int::Error),
    String(prefix_string::Error),
    InvalidPrefix(u8),
    InvalidBase {
        required_insert_count: usize,
        sign_negative: bool,
        delta_base: usize,
    },
    InvalidRequiredInsertCount(usize),
}

impl From<prefix_int::Error> for ParseError {
    fn from(e: prefix_int::Error) -> Self {
        ParseError::Integer(e)
    }
}

impl From<prefix_string::Error> for ParseError {
    fn from(e: prefix_string::Error) -> Self {
        ParseError::String(e)
    }
}