deviceState returns device.state.state as a deviceState See those docs for how to interpret this value.
()
| 114 | // deviceState returns device.state.state as a deviceState |
| 115 | // See those docs for how to interpret this value. |
| 116 | func (device *Device) deviceState() deviceState { |
| 117 | return deviceState(device.state.state.Load()) |
| 118 | } |
| 119 | |
| 120 | // isClosed reports whether the device is closed (or is closing). |
| 121 | // See device.state.state comments for how to interpret this value. |
no test coverage detected