pub trait StreamReader<R: Read + Seek>: Sized {
type File: EraFileFormat;
type Iterator;
// Required methods
fn new(reader: R) -> Self;
fn read(self, network_name: String) -> Result<Self::File, E2sError>;
fn iter(self) -> Self::Iterator;
}Expand description
StreamReader for reading era-format files
Required Associated Types§
Sourcetype File: EraFileFormat
type File: EraFileFormat
The file type the reader produces
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".