Function fuchsia_fs::file::read_in_namespace_to_fidl

source ยท
pub async fn read_in_namespace_to_fidl<T: Persistable>(
    path: &str,
) -> Result<T, ReadNamedError>
Expand description

Read the given FIDL message from binary file at path in the current namespace. The path must be an absolute path. FIDL structure should be provided at a read time. Incompatible data is populated as per FIDL ABI compatibility guide: https://fuchsia.dev/fuchsia-src/development/languages/fidl/guides/abi-compat