OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

CarriedFile

pub struct CarriedFile

One file carried inside a recording or a snapshot, bytes and all.

What read_carried_files hands back. The index alone is AttachmentInfo; this is that plus the payload, for the caller who wanted both and does not want to hold a file handle open to get the second half.

CarriedFile — fields

info: AttachmentInfo

Name, MIME type, size and recorded digest.

data: Vec<u8>

The content.