Enum ethcore_light::on_demand::Error [] [src]

pub enum Error {
    Canceled,
    NoPeersAvailable,
    InvalidRequest,
    TimedOut,
}

Errors which can occur while trying to fulfill a request.

Variants

Request was canceled.

No suitable peers available to serve the request.

Invalid request.

Request timed out.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Canceled> for Error
[src]

Performs the conversion.