gluerunner 0.1.0

A blazingly fast HTTP client with a magnificent request building syntax, made for humans.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::{error::Error, fmt};

#[derive(Debug)]
pub struct RequestError(pub String);

impl Error for RequestError {}

impl fmt::Display for RequestError {
	fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
		write!(f, "There is an error: {}", self.0)
	}
}