pub trait TextIOHandler {
// Required methods
fn read_text(&self, name: &OsStr) -> IoResult<String>;
fn write_text(&mut self, name: &OsStr, content: String) -> IoResult<()>;
}Expand description
Implementors provide the ability to accept std::string::String content associated with an std::ffi::OsStr name, as can be expected from entities mediating a file system or their mocks and simulators.