Enum skylane::client::SkylaneError [] [src]

pub enum SkylaneError {
    IO {
        description: String,
    },
    Socket {
        description: String,
    },
    WrongObject {
        object_id: ObjectId,
    },
    WrongOpcode {
        name: &'static str,
        object_id: u32,
        opcode: u16,
    },
    Other(String),
}

Enumeration for all skylane errors.

Variants

Wrapper for std::io::Error.

Fields of IO

Description of the error.

Wrapper for nix::Error.

Fields of Socket

Description of the error.

Error emitted when trying to access not existing object.

Fields of WrongObject

ID of requested object.

Error emitted when requested method does not exist in given interface.

Fields of WrongOpcode

Name of interface.

Referred object ID.

Requested method.

Other errors.

Trait Implementations

impl Debug for SkylaneError
[src]

Formats the value using the given formatter.

impl From<Error> for SkylaneError
[src]

Performs the conversion.

impl From<Error> for SkylaneError
[src]

Performs the conversion.

impl From<VarError> for SkylaneError
[src]

Performs the conversion.