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

Function win_err

rustcv-backend-msmf/src/stream.rs:46–48  ·  view source on GitHub ↗

Converts a Windows error to a CameraError.

(e: windows_core::Error)

Source from the content-addressed store, hash-verified

44
45/// Converts a Windows error to a CameraError.
46fn win_err(e: windows_core::Error) -> CameraError {
47 CameraError::BackendError(e.message().to_string())
48}
49
50/// Thread-safe wrapper for `IMFSample`.
51///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected