pub fn new<P: Into<PathBuf>>(file: P) -> Self {
        FileStream {
            file: Box::pin(File::open(file.into())),
            inner: None,
        }
    }
/// Create a new FileStream from a file path
Create a new FileStream from a file path
Create a new FileStream from a file path
pub fn new<P: Into<PathBuf>>(file: P) -> Self {
        FileStream {
            file: Box::pin(File::open(file.into())),
            inner: None,
        }
    }
pub fn new < P : Into < PathBuf > > ( file : P ) -> Self { FileStream { file : Box :: pin ( File :: open ( file . into ( ) ) ) , inner : None , } }
Create a new FileStream from a file path
Create a new FileStream from a file path
file
P