Skip to main content

extract_protobuf_with_tracker

Function extract_protobuf_with_tracker 

Source
pub fn extract_protobuf_with_tracker(
    source_path: &str,
    input: &str,
    tracker: &mut ExtractionTracker,
) -> Result<ProtoFile, ProtobufExtractionError>
Expand description

Extracts a protobuf contract using an existing per-invocation tracker.

ยงErrors

Returns an error for malformed input or an exhausted extraction budget.