session: one object helper, in the types facade where the rest of the shims live
This commit is contained in:
parent
52ad46ecb0
commit
2ef842ed90
1 changed files with 0 additions and 7 deletions
|
|
@ -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(
|
fn success(
|
||||||
request: &SessionRpcRequest,
|
request: &SessionRpcRequest,
|
||||||
worker_id: &Id,
|
worker_id: &Id,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue