[−][src]Trait tectonic_io_base::InputFeatures
An extension to the basic Read trait supporting additional features needed for Tectonic's I/O system.
Required methods
pub fn get_size(&mut self) -> Result<usize>
[src]
Get the size of the stream. Return TectonicIoError::NotSizeable
if the operation is not well-defined for this stream.
pub fn try_seek(&mut self, pos: SeekFrom) -> Result<u64>
[src]
Try to seek within the stream. Return TectonicIoError::NotSeekable
if the operation is not possible for this stream.
Provided methods
pub fn get_unix_mtime(&mut self) -> Result<Option<i64>>
[src]
Get the modification time of this file as a Unix time. If that quantity
is not meaningfully defined for this input, return Ok(None)
. This is
what the default implementation does.