1 2 3 4 5 6 7 8 9 10 11 12 13 14
use std; pub struct FileStream { base: InputStream, filename: String, } impl FileStream { fn new(fileName: String) -> Result<FileStream, std::io::Error> { unimplemented!() } fn get_source_name(&self) -> String { unimplemented!() } }