type DeviceResult<T> = Result<T, DeviceError>;
enum DeviceResult<T> { Ok(T), Err(DeviceError), }
Contains the success value
Contains the error value