pub fn load_str(
text: &str,
source_file: &str,
expected_kind: DetectionKind,
) -> Result<Vec<Detection>, DetectionError>Expand description
In-memory variant of load that accepts the full CSV text. Required by
the .NET bindings (FR-012, no temp files).