mirror of
https://github.com/morluto/rea.git
synced 2026-10-28 02:15:44 +00:00
Refs #4373, #4455, #4457, #4458. Use canonical artifact ownership in Go, Rust, SQLite and PE readers and their failure consumers. Admit PE read budgets before allocation and ignore zero-extent sections in interval ownership. Close Rust resources through CLI and MCP lifecycles.
21 lines
620 B
TypeScript
21 lines
620 B
TypeScript
import type {
|
|
ExecutionOptions,
|
|
ProviderIdentity,
|
|
} from "../AnalysisProvider.js";
|
|
import type { AnalysisError } from "../../domain/analysisErrorBase.js";
|
|
import type {
|
|
InspectRustBinaryInput,
|
|
RustBinary,
|
|
} from "../../domain/rust/rustBinary.js";
|
|
import type { Result } from "../../domain/result.js";
|
|
|
|
/** Replaceable offline dependency reader with no target-execution authority. */
|
|
export interface RustBinaryPort {
|
|
readonly identity: ProviderIdentity;
|
|
close?(): Promise<void>;
|
|
inspect(
|
|
input: InspectRustBinaryInput,
|
|
options?: ExecutionOptions,
|
|
): Promise<Result<RustBinary, AnalysisError>>;
|
|
}
|