greyhound 0.0.1

al3x's personal backend framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::{error, fmt::Display};

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

impl Display for Error {
	fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
		write!(f, "{self:?}")
	}
}

impl error::Error for Error {}

impl From<async_std::io::Error> for Error {
	fn from(_err: async_std::io::Error) -> Self {
		todo!()
	}
}