Searched defs:File (Results 1 – 4 of 4) sorted by relevance
33 pub struct File { struct34 file: Arc<SyncFile>, argument35 inner: Mutex<FileInner>, argument41 struct FileInner { argument100 impl File { impl102 pub fn new(file: SyncFile) -> File { in new()132 pub async fn open<P: AsRef<Path>>(path: P) -> io::Result<File> { in open()154 pub async fn create<P: AsRef<Path>>(path: P) -> io::Result<File> { in create()341 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()375 impl AsyncSeek for File { implementation[all …]
295 pub async fn open<P: AsRef<Path>>(&self, path: P) -> io::Result<File> { in open()
99 fn to_blocking_file(io: ChildStdio) -> io::Result<File> { in to_blocking_file()
414 impl ReusableReader for crate::File { implementation