镜头控制 Trait (允许并发操作,不阻塞 Sensor)
| 138 | |
| 139 | /// 镜头控制 Trait (允许并发操作,不阻塞 Sensor) |
| 140 | pub trait LensControl: Send + Sync { |
| 141 | fn set_zoom(&self, zoom: u32) -> Result<()>; |
| 142 | fn set_focus(&self, focus: u32) -> Result<()>; |
| 143 | } |
| 144 | |
| 145 | /// 系统/高级控制 Trait |
| 146 | pub trait SystemControl: Send + Sync { |
nothing calls this directly
no outgoing calls
no test coverage detected