[−][src]Crate tectonic_io_base
Tectonic’s pluggable I/O backend.
Modules
digest | Helpers to tidy up the computation of digests in various places. |
filesystem | Tectonic I/O implementations for |
flate2 | Tectonic I/O implementations for types provided by |
stack | An "I/O stack" is an I/O provider that delegates requests to a series of sub-providers in turn. |
stdstreams | Tectonic I/O trait implementations for the standard I/O streams. |
testing | Some implementations for testing. |
Structs
InputHandle | Input handles are basically Read objects with a few extras. We don't require the standard io::Seek because we need to provide a dummy implementation for GZip streams, which we wouldn't be allowed to do because both the trait and the target struct are outside of our crate. |
OutputHandle | A handle for Tectonic output streams. |
Enums
InputOrigin | What kind of source an input file ultimately came from. We keep track of this in order to be able to emit Makefile-style dependencies for input files. Right now, we only provide enough options to achieve this goal; we could add more. |
OpenResult | A convenience type for file-open operations when "not found" needs to be handled specially. |
TectonicIoError | Errors that are generic to Tectonic's framework, but not capturable as IoErrors. |
Traits
AsIoProviderMut | A hack to allow casting of Bundles to IoProviders. |
InputFeatures | An extension to the basic Read trait supporting additional features needed for Tectonic's I/O system. |
IoProvider | A trait for types that can read or write files needed by the TeX engine. |
Functions
try_open_file | Try to open a file on the fileystem, returning an |