Skip to main content

run_one

Function run_one 

Source
pub async fn run_one(router: &Router, vector: &Vector) -> VectorResult
Expand description

Runs a single vector through the supplied router.

Public so a custom harness (one that wants to drive against a real socket rather than tower::ServiceExt::oneshot) can reuse the response-shaping logic.