Skip to main content

print_tunnel_closed_json

Function print_tunnel_closed_json 

Source
pub fn print_tunnel_closed_json(event: &TunnelClosedJson) -> Result<()>
Expand description

Emits the tunnel_closed shutdown event (G-TUN-R07).

Always emitted, including on the happy deadline path, so an agent can tell the three endings apart instead of inferring them from a shared exit 0.

ยงErrors

Serialization or stdout I/O (including BrokenPipe).