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
IO
Wrapper for std::io::Error
.
Fields of IO
description: String | Description of the error. |
Socket
Wrapper for nix::Error
.
Fields of Socket
description: String | Description of the error. |
WrongObject
Error emitted when trying to access not existing object.
Fields of WrongObject
object_id: ObjectId | ID of requested object. |
WrongOpcode
Error emitted when requested method does not exist in given interface.
Fields of WrongOpcode
name: &'static str | Name of interface. |
object_id: u32 | Referred object ID. |
opcode: u16 | Requested method. |
Other(String)
Other errors.
Trait Implementations
impl Debug for SkylaneError
[src]
impl From<Error> for SkylaneError
[src]
impl From<Error> for SkylaneError
[src]
fn from(error: Error) -> Self
Performs the conversion.