{
"connection": {
"metadata": {
"channel0_only": true
},
"start-ok": {
"metadata": {
"extra_args": [
{
"name": "resolver",
"type": "PromiseResolver<CloseOnDrop<Connection>>"
},
{
"name": "credentials",
"type": "Credentials"
}
],
"end_hook": {
"params": ["resolver", "credentials"]
}
}
},
"open": {
"metadata": {
"internal": true,
"extra_args": [
{
"name": "conn_resolver",
"type": "PromiseResolver<CloseOnDrop<Connection>>"
}
],
"end_hook": {
"params": ["conn_resolver"]
}
}
},
"close": {
"metadata": {
"internal": true,
"end_hook": true
}
},
"close-ok": {
"metadata": {
"channel_deinit": true,
"received_hook": true,
"extra_args": [
{
"name": "error",
"type": "Error"
}
],
"end_hook": {
"params": ["error"]
}
}
},
"blocked": {
"metadata": {
"internal": true
}
},
"unblocked": {
"metadata": {
"internal": true
}
},
"update-secret": {
"metadata": {
"internal": true
}
}
},
"channel": {
"open": {
"metadata": {
"internal": true,
"channel_init": true,
"confirmation": {
"type": "CloseOnDrop<Channel>"
}
}
},
"open-ok": {
"metadata": {
"channel_init": true
}
},
"close": {
"metadata": {
"require_wrapper": true,
"start_hook": true
}
},
"close-ok": {
"metadata": {
"channel_deinit": true,
"received_hook": true,
"extra_args": [
{
"name": "error",
"type": "Error"
}
],
"end_hook": {
"params": ["error"]
}
}
},
"flow": {
"metadata": {
"confirmation": {
"type": "Boolean"
}
}
},
"flow-ok": {
"metadata": {
"confirmation": {
"type": "()"
}
}
}
},
"confirm": {
"select-ok": {
"metadata": {
"received_hook": true
}
}
},
"queue": {
"declare": {
"metadata": {
"confirmation": {
"type": "Queue"
},
"nowait_hook": {
"fields": ["queue: queue.into()"]
}
}
},
"delete": {
"metadata": {
"state": [
{
"name": "queue",
"type": "ShortString",
"use_str_ref": true
}
],
"confirmation": {
"type": "LongUInt"
},
"nowait_hook": true
}
},
"purge": {
"metadata": {
"confirmation": {
"type": "LongUInt"
}
}
}
},
"exchange": {
"declare": {
"metadata": {
"require_wrapper": true
}
}
},
"basic": {
"consume": {
"metadata": {
"state": [
{
"name": "queue",
"type": "ShortString",
"use_str_ref": true
}
],
"confirmation": {
"type": "Consumer"
},
"nowait_hook": {
"fields": ["consumer_tag: consumer_tag.into()"],
"exhaustive_args": true
}
}
},
"cancel": {
"metadata": {
"nowait_hook": {
"fields": ["consumer_tag: consumer_tag.into()"],
"exhaustive_args": true
}
}
},
"publish": {
"metadata": {
"carry_headers": true,
"extra_args": [
{
"name": "payload",
"type": "Vec<u8>"
},
{
"name": "properties",
"type": "BasicProperties"
}
],
"confirmation": {
"type": "PublisherConfirm"
},
"start_hook": {
"returns": true
}
}
},
"get": {
"metadata": {
"confirmation": {
"type": "Option<BasicGetMessage>"
},
"state": [
{
"name": "queue",
"type": "ShortString",
"use_str_ref": true
}
]
}
},
"ack": {
"metadata": {
"end_hook": {
"params": ["multiple", "delivery_tag"]
}
}
},
"recover-async": {
"metadata": {
"end_hook": true
}
},
"recover-ok": {
"metadata": {
"received_hook": true
}
},
"nack": {
"metadata": {
"end_hook": {
"params": ["multiple", "delivery_tag"]
}
}
}
}
}