MCPcopy Create free account
hub / github.com/RustCV/RustCV / start

Method start

rustcv-backend-v4l2/src/stream.rs:52–57  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

50#[async_trait]
51impl Stream for V4l2Stream {
52 async fn start(&mut self) -> Result<()> {
53 // 调用 v4l::io::traits::Stream 的 start
54 V4lStream::start(&mut self.inner).map_err(CameraError::Io)?;
55 self.is_streaming = true;
56 Ok(())
57 }
58
59 async fn stop(&mut self) -> Result<()> {
60 // 调用 v4l::io::traits::Stream 的 stop

Callers 4

spawn_camera_producerFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected