>`
[INFO] [stdout] found unit type `()`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: the method `search_rom` exists for mutable reference `&'a mut OneWire`, but its trait bounds were not satisfied
[INFO] [stdout] --> src/lib.rs:323:32
[INFO] [stdout] |
[INFO] [stdout] 323 | let result = self.wire.search_rom(self.state.as_ref(), self.only_triggered_alarms, self.delay);
[INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `&'a mut OneWire
` due to unsatisfied trait bounds
[INFO] [stdout] |
[INFO] [stdout] note: trait bound `::Error = E` was not satisfied
[INFO] [stdout] --> src/lib.rs:67:16
[INFO] [stdout] |
[INFO] [stdout] 63 | impl OneWire
[INFO] [stdout] | -------------
[INFO] [stdout] ...
[INFO] [stdout] 67 | D: DelayUs,
[INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> src/lib.rs:255:10
[INFO] [stdout] |
[INFO] [stdout] 250 | fn search_rom(
[INFO] [stdout] | ---------- implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 255 | ) -> OneWireResult