Crate writer

Source

Structs§

JsonWriter
Type-safe machine output implementation of crate::ToolIO
TestBuffer
Provides a shared memory buffer that can be cloned that can be used with implementations of crate::ToolIO to test input and output behaviour at runtime.
TestBuffers
Provides shared memory buffers (in the form of TestBuffers for stdout and stderr that can be used with implementations of crate::ToolIO to test input and output behaviour at runtime.
Writer
An object that can be used to produce output, with no support for outputting structured machine-interpretable output.

Enums§

Error
Format
Enum indicating output formatting.

Traits§

ToolIO
ToolIO defines the necessary functions to perform output from a tool, potentially including type-safe machine output if required.

Functions§

format_output

Type Aliases§

Result