Lines Matching defs:File
16 pub struct File { struct
17 tokio: fs::File, argument
21 impl File { implementation
25 pub async fn open(path: impl Into<PathBuf>) -> io::Result<File> { in open()
36 pub async fn create(path: impl Into<PathBuf>) -> io::Result<File> { in create()
47 pub fn from_std(std: crate::File) -> File { in from_std()
98 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
109 pub async fn into_std(self) -> crate::File { in into_std()
116 pub fn try_into_std(self) -> Result<crate::File, File> { in try_into_std() argument
136 impl File { implementation
174 impl From<crate::File> for File { implementation
188 impl std::os::unix::io::AsRawFd for File { implementation
195 impl std::os::windows::io::AsRawHandle for File { implementation
201 impl AsyncRead for File { implementation
214 impl AsyncSeek for File { implementation
229 impl AsyncWrite for File { implementation