Enum osu::error::Error
[−]
[src]
pub enum Error { Format(FmtError), Hyper(HyperError), Json(JsonError), Io(IoError), Uri(UriError), }
The error type used throughout the library.
This wraps all of the depended crates' error types and stdlib error types that can return from functions.
Variants
Format(FmtError)
An error from std::fmt
Hyper(HyperError)
A hyper
crate error
Json(JsonError)
A serde_json
crate error
Io(IoError)
A std::io
module error
Uri(UriError)
An error from the hyper
crate while parsing a URI.
Trait Implementations
impl Debug for Error
[src]
impl From<FmtError> for Error
[src]
impl From<IoError> for Error
[src]
impl From<HyperError> for Error
[src]
fn from(err: HyperError) -> Error
[src]
Performs the conversion.
impl From<JsonError> for Error
[src]
impl From<UriError> for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
Formats the value using the given formatter. Read more