pub trait InputFeatures: Read {
// Required methods
fn get_size(&mut self) -> Result<usize, Error>;
fn try_seek(&mut self, pos: SeekFrom) -> Result<u64, Error>;
// Provided method
fn get_unix_mtime(&mut self) -> Result<Option<i64>, Error> { ... }
}Expand description
An extension to the basic Read trait supporting additional features needed for Tectonic’s I/O system.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".