Home
last modified time | relevance | path

Searched defs:File (Results 1 – 2 of 2) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
Dasync_file.rs33 pub struct File { struct
34 file: Arc<SyncFile>, argument
35 inner: Mutex<FileInner>, argument
95 impl File { impl
97 pub fn new(file: SyncFile) -> File { in new()
126 pub async fn open<P: AsRef<Path>>(path: P) -> io::Result<File> { in open()
148 pub async fn create<P: AsRef<Path>>(path: P) -> io::Result<File> { in create()
334 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
341 impl AsyncSeek for File { implementation
393 impl AsyncRead for File { implementation
[all …]
Dopen_options.rs295 pub async fn open<P: AsRef<Path>>(&self, path: P) -> io::Result<File> { in open()