HostDirWrite

Trait HostDirWrite 

Source
pub trait HostDirWrite {
    type FileWrite: HostFileWrite;

    // Required methods
    fn create_file(
        &mut self,
        name: &FileName,
    ) -> Result<Self::FileWrite, IoError>;
    fn create_dir(&mut self, name: &FileName) -> Result<Self, IoError>
       where Self: Sized;
}
Expand description

Host directory writer.

Required Associated Types§

Required Methods§

Source

fn create_file(&mut self, name: &FileName) -> Result<Self::FileWrite, IoError>

Source

fn create_dir(&mut self, name: &FileName) -> Result<Self, IoError>
where Self: Sized,

Implementors§