Skip to main content

Module mock_writer

Module mock_writer 

Source
Available on crate feature mocks only.
Expand description

A super::Writer that can be used for tests

Structs§

MockWriter
Implements super::Writer and panics if the expected data wasn’t written on close.