use super::File; use futures::{Future, Poll}; use std::fs::OpenOptions as StdOpenOptions; use std::io; use std::path::Path; /// Future returned by `File::open` and resolves to a `File` instance. #[derive(Debug)] pub struct OpenFuture
{ options: StdOpenOptions, path: P, } impl
OpenFuture
where P: AsRef Future for OpenFuture
where P: AsRef