We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wicket
1 parent de2847f commit 8eed7f0Copy full SHA for 8eed7f0
wicket-common/src/inventory.rs
@@ -99,13 +99,13 @@ pub struct Transceiver {
99
/// The port in which the transceiver sits.
100
pub port: String,
101
/// The general status of the transceiver, such as presence and faults.
102
- pub status: Option<ExtendedStatus>,
+ pub status: Result<ExtendedStatus, String>,
103
/// Information about the power state of the transceiver.
104
- pub power: Option<PowerMode>,
+ pub power: Result<PowerMode, String>,
105
/// Details about the vendor, part number, and serial number.
106
- pub vendor: Option<VendorInfo>,
+ pub vendor: Result<VendorInfo, String>,
107
/// Status of the transceiver's machinery for carrying data, the "datapath".
108
- pub datapath: Option<Datapath>,
+ pub datapath: Result<Datapath, String>,
109
/// Environmental monitoring data, such as temperature or optical power.
110
- pub monitors: Option<Monitors>,
+ pub monitors: Result<Monitors, String>,
111
}
0 commit comments