Searched defs:File (Results 1 – 4 of 4) sorted by relevance
34 pub struct File { struct35 file: Arc<SyncFile>, argument36 inner: Mutex<FileInner>, argument42 struct FileInner { argument101 impl Debug for File { implementation107 impl File { implementation109 pub fn new(file: SyncFile) -> File { in new()139 pub async fn open<P: AsRef<Path>>(path: P) -> io::Result<File> { in open()161 pub async fn create<P: AsRef<Path>>(path: P) -> io::Result<File> { in create()342 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()[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