[−][src]Trait witx::WitxIo
Required methods
fn fgets(&self, path: &Path) -> Result<String, WitxError>
Read the entire file into a String. Used to resolve use
declarations.
fn fget_line(&self, path: &Path, line_num: usize) -> Result<String, WitxError>
Read a line of a file into a String. Used for error reporting.
fn canonicalize(&self, path: &Path) -> Result<PathBuf, WitxError>
Return the canonical (non-symlinked) path of a file. Used to resolve use
declarations.