imag/lib/entry/libimagentryview/src
Matthias Beyer 11955f699f Change interface of Viewer to propagate io errors
Because we need to catch errors that are caused by a borken pipe when
writing to stdout (for example), this patch changes the interface of the
Viewer trait to return an error enum that can be used to check whether
an IO error happened.

The calling code can then decide whether to ignore a broken pipe error
or whether to handle it properly.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-30 11:12:43 +02:00
..
builtin Change interface of Viewer to propagate io errors 2019-05-30 11:12:43 +02:00
error.rs Change interface of Viewer to propagate io errors 2019-05-30 11:12:43 +02:00
lib.rs Change interface of Viewer to propagate io errors 2019-05-30 11:12:43 +02:00
viewer.rs Change interface of Viewer to propagate io errors 2019-05-30 11:12:43 +02:00