Enum ophir::error::DeviceError
[−]
[src]
pub enum DeviceError { Defined { description: String, }, Derived { underlying: Box<Error>, }, }
Variants
Defined
Fields of Defined
description: String |
Derived
Fields of Derived
underlying: Box<Error> |
Methods
impl DeviceError
[src]
fn from_cause<T: Error + 'static>(err: T) -> DeviceError
Used to create a DeviceError from an existing Error.