Lines Matching defs:File
93 pub struct File { struct
94 std: Arc<StdFile>, argument
95 inner: Mutex<Inner>,
122 impl File { impl
156 pub async fn open(path: impl AsRef<Path>) -> io::Result<File> { in open()
196 pub async fn create(path: impl AsRef<Path>) -> io::Result<File> { in create()
215 pub fn from_std(std: StdFile) -> File { in from_std()
401 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
495 impl AsyncRead for File { implementation
563 impl AsyncSeek for File { implementation
625 impl AsyncWrite for File { implementation
701 impl From<StdFile> for File { implementation
707 impl fmt::Debug for File { implementation
716 impl std::os::unix::io::AsRawFd for File { implementation
723 impl std::os::unix::io::FromRawFd for File { implementation
730 impl std::os::windows::io::AsRawHandle for File { implementation
737 impl std::os::windows::io::FromRawHandle for File { implementation