Module util

Module util 

Source
Expand description

Utilities to help with testing and other purposes

Structs§

InMemoryIo
An IO implementation that just writes to a string. The futures produced from methods like IoOutput::write are complete instantly, and no errors are produced.
InMemoryOutput
An output implementation that just writes to a string. Produces no errors and the futures complete instantly. This type is an analogue of InMemoryIo.
IntoStringIter
Turns a WritableSeq into an iterator over owned strings. This calls InMemoryOutput::print_output for each writable produced by the sequence. It uses Rust’s async design in order to produce lazy iteration.
ToStringIter
WritableFromFunction
A wrapper intended to be used as a SequenceConfig. The tuple value should be a function that returns a writable for the data type.