Function end [src]

Finishes serializing the tuple. Prints a trailing comma as configured when appropriate, and the closing bracket.

Prototype

pub fn end(self: *Tuple) Error!void

Parameters

self: *Tuple

Possible Errors

WriteFailed Error

See the Writer implementation for detailed diagnostics.

Source

pub fn end(self: *Tuple) Error!void { try self.container.end(); self.* = undefined; }