Expand description
Utilities to help with testing and other purposes
Structs§
- InMemory
Io - 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.
- InMemory
Output - An output implementation that just writes to a string. Produces no errors and the futures complete instantly. This type is an analogue of InMemoryIo.
- Into
String Iter - 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.
- ToString
Iter - Writable
From Function - A wrapper intended to be used as a SequenceConfig. The tuple value should be a function that returns a writable for the data type.