use gremlin_client::{GremlinClient, Path}; fn main() -> Result<(), Box> { let client = GremlinClient::connect("localhost")?; let results = client .execute("g.V(param).outE().inV().path()", &[("param", &1)])? .filter_map(Result::ok) .map(|f| f.take::()) .collect::, _>>()?; println!("{:#?}", results); Ok(()) }