bui-backend 0.6.0

Brower User Interfaces (BUIs) with Tokio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use ::hyper;

/// Possible errors
#[derive(Fail, Debug)]
pub enum Error {
    /// A wrapped error from the hyper crate
    #[fail(display = "{}", _0)]
    Hyper(#[cause] hyper::Error),
}

impl From<hyper::Error> for Error {
    fn from(orig: hyper::Error) -> Error {
        Error::Hyper(orig)
    }
}