Module common_failures::io [] [src]

Implementations of Fail that are particularly useful with std::io::Error, which does not include the pathname that caused an error. However, these wrappers may also be useful with serde and other routines that process the data that's being read or written to files.

Structs

IoError

An I/O error with enough context to display a user-friendly message.

Enums

Operation

General categories of I/O operations that might fail.

Target

The target of an I/O operation that failed.

Traits

IoContextErrorExt

This is an unfortunate duplicate of IoContextExt that we require because Rust doesn't allow allow us to implement IoContextExt for both E: Fail and failure::Error, at least not from outside the failure crate.

IoContextExt

Trait which extends Result with methods for generating better error messages.