tosic-http 0.0.3

A basic but powerful HTTP server implementation based on `actix-web`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::error::response_error::ResponseError;
use std::char::ParseCharError;
use std::convert::Infallible;
use std::num::{ParseFloatError, ParseIntError};
use std::str::ParseBoolError;

macro_rules! impl_parse_error (
    {$ty:ty} => {
        impl ResponseError for $ty {}
    };
);

impl_parse_error! {Infallible}
impl_parse_error! {ParseIntError}
impl_parse_error! {ParseBoolError}
impl_parse_error! {ParseCharError}
impl_parse_error! {ParseFloatError}