Skip to main content

decode_qr_image

Function decode_qr_image 

Source
pub fn decode_qr_image(image_path: &Path) -> Result<String, AgentErrorKind>
Expand description

Decodes a QR image into its textual payload.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::decode_qr_image or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::decode_qr_image cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::decode_qr_image(todo!());
  • crate::runtime for adjacent helpers that share the same runtime surface.