pub trait HostWrite {
type FileWrite: HostFileWrite;
type DirWrite: HostDirWrite;
// Required methods
fn into_file_writer(self) -> Result<Self::FileWrite, IoError>;
fn into_dir_writer(self) -> Result<Self::DirWrite, IoError>;
}Expand description
Host writer.
Can be turned into either file or directory writer.