session: one object helper, in the types facade where the rest of the shims live

This commit is contained in:
acamilo 2026-09-22 12:33:01 +00:00
parent 52ad46ecb0
commit 2ef842ed90

View file

@ -584,13 +584,6 @@ fn classify_default(method: &str) -> Option<OpClass> {
}
}
fn object(value: Value) -> Map<String, Value> {
match value {
Value::Object(m) => m,
_ => unreachable!("a struct serializes to an object"),
}
}
fn success(
request: &SessionRpcRequest,
worker_id: &Id,