Enum open_protocol::Error [] [src]

pub enum Error {
    UnknownPlatform,
    Key(&'static str),
    Task(String),
    Codec(String),
    ParseInt(ParseIntError),
    ParseFloat(ParseFloatError),
    Io(Error),
}

Variants

Methods

impl Error
[src]

Create Codec error from input data.

Example

use open_protocol::Error;

let _ = Error::codec("fail to deserialize data");

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<ParseIntError> for Error
[src]

Performs the conversion.

impl From<ParseFloatError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more